Sign inSign up

jtyr/exporter-test

By jtyr

Updated over 5 years ago

Prometheus Exporter testing application.

Image
0

10K+

jtyr/exporter-test repository overview

Exporter Test

This is a Prometheus Exporter testing application using Open Telemetry (OTEL) instrumentation for the metrics.

Usage

Docker Compose

Run the container:

docker-compose up

Test the metrics endpoint:

curl http://localhost:8080/metrics
Kubernetes

Add Helm chart repo:

helm repo add exporter-test https://jtyr.github.io/exporter-test
helm repo update

Install Helm chart:

helm upgrade --create-namespace --namespace exporter-test --install exporter-test exporter-test/exporter-test

Test the metrics endpoint:

kubectl run curl \
    --image curlimages/curl \
    --restart=Never \
    --rm \
    --tty \
    --stdin \
    --command -- \
    curl http://exporter-test.exporter-test/metrics

License

MIT

Author

Jiri Tyr

Tag summary

Content type

Image

Digest

Size

3.3 MB

Last updated

over 5 years ago

docker pull jtyr/exporter-test:0.1.1