/prom-metric-generator

Generator the prometheus metrics via a configuration.

Primary LanguageGoApache License 2.0Apache-2.0

Generate the Prometheus metric via a configuration.

Run in local

Run the metric generator:

$ export METRIC_CONFIG=./manifests/metric-conf.yaml
$ go run main.go

Check the metric:

$ curl localhost:8080/metrics