cardinality-exporter

command module
v0.0.0-...-f8441b7 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

README

cardinality-exporter

Inspired by thought-machine/prometheus-cardinality-exporter, exposes metrics from TSDB-status. The mentioned project is built with tooling made in-house, making it difficult to use and contribute. Thus, this project was created with tools that are broadly used in the market.

The cardinality-exporter will hit the endpoint http://localhost:9090/api/v1/status/tsdb and expose the response as Prometheus metrics. Since the Prometheus address is hardcoded, it can only work as a sidecar at the moment. Contributions are welcome!


Development

Build and run the binary locally with:

make build
./cardinality-exporter

Or as a docker image:

make docker-build
docker run -p 9091:9091 ghcr.io/arthursens/cardinality-exporter:main

By clicking in the button below, you'll have ready-to-go Cloud Develepor Environment to develop cardinality-exporter:

Open in Gitpod

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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