Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/songleo/prom-metric-generator
Generator the prometheus metrics via a configuration.
https://github.com/songleo/prom-metric-generator
Last synced: about 1 month ago
JSON representation
Generator the prometheus metrics via a configuration.
- Host: GitHub
- URL: https://github.com/songleo/prom-metric-generator
- Owner: songleo
- License: apache-2.0
- Created: 2022-04-11T02:56:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-30T03:59:41.000Z (over 2 years ago)
- Last Synced: 2024-06-21T15:49:00.340Z (6 months ago)
- Language: Go
- Size: 23.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
```