An open API service indexing awesome lists of open source software.

https://github.com/nabokihms/events_exporter

Prometheus exporter that collects Kubernetes cluster events and exposes them as metric samples.
https://github.com/nabokihms/events_exporter

helm-chart kubernetes prometheus prometheus-exporter

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://github.com/nabokihms/events_exporter/pkgs/container/events_exporter).

```bash
docker pull ghcr.io/nabokihms/events_exporter:latest
```

### Helm Chart

The first version of helm chart is available.
1. Follow the instruction from [artifacthub](https://artifacthub.io/packages/helm/events-exporter/events-exporter) to install the chart
2. After the installation, metrics will be available on address `http://events-exporter.default:9000/metrics`

## Alerts and Dashboards

TBA