Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/surik/cri-exporter
A simple tool to export data from the CRI API as Prometheus metrics
https://github.com/surik/cri-exporter
containerd cri cri-o docker kubernetes
Last synced: about 2 months ago
JSON representation
A simple tool to export data from the CRI API as Prometheus metrics
- Host: GitHub
- URL: https://github.com/surik/cri-exporter
- Owner: surik
- License: mit
- Created: 2024-08-03T15:34:04.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-03T15:50:15.000Z (5 months ago)
- Last Synced: 2024-09-18T10:09:17.138Z (4 months ago)
- Topics: containerd, cri, cri-o, docker, kubernetes
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CRI-Exporter
This is a simple tool to export data from the CRI API as Prometheus metrics.
You can test it on MacOS with Docker Desktop. You need to have Kubernetes enabled and running.
Then you can run the following commands:$ make docker run-docker
Then you can access the metrics on http://localhost:8080/metrics
**NOTE:** For local tests, this is necessary to have Kubernetes enabled in Docker Desktop as this will allow to mount `cri-dockerd.sock` into the container.
You may try to test it with `CRI-O` or `containerd`. PRs are welcome.