criexporter

package module
v0.0.0-...-c2f5433 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 1 Imported by: 0

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.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Tag     = "unknown"
	Version = func() string {
		if Tag == "" {
			return "unknown"
		}
		return strings.TrimLeft(Tag, "v")
	}()
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
internal
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL