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.
- Host: GitHub
- URL: https://github.com/nabokihms/events_exporter
- Owner: nabokihms
- License: apache-2.0
- Created: 2021-06-11T13:22:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T00:24:43.000Z (over 2 years ago)
- Last Synced: 2025-03-25T08:11:08.320Z (7 months ago)
- Topics: helm-chart, kubernetes, prometheus, prometheus-exporter
- Language: Go
- Homepage:
- Size: 80.1 KB
- Stars: 21
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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