events_exporter icon indicating copy to clipboard operation
events_exporter copied to clipboard

Prometheus exporter that collects Kubernetes cluster events and exposes them as metric samples.

Events Exporter

Overview

Prometheus-exporter, which converts Kubernetes events to Prometheus samples.

Usage

Usage of events_exporter:
  -kube.config string
        Path to kubeconfig (optional)
  -kube.events-ttl duration
        For how long to keep stale events (default 1h0m0s)
  -kube.field-selector string
        Events filter as for kubectl
  -kube.omit-events-messages
        Do not expose message field from events (it reduces cardinality)
  -server.exporter-address string
        Address to export prometheus metrics (default ":9000")
  -server.log-level string
        Log level (logs all incoming events if debug) (default "info")

Install

Docker Container

Ready-to-use Docker images are available on GitHub.

docker pull ghcr.io/nabokihms/events_exporter:latest

Helm Chart

The first version of helm chart is available.

  1. Follow the instruction from artifacthub to install the chart
  2. After the installation, metrics will be available on address http://events-exporter.default:9000/metrics

Alerts and Dashboards

TBA