Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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.