https://github.com/bwplotka/prom-source-http
Simple dynamic file content serving HTTP server.
https://github.com/bwplotka/prom-source-http
Last synced: 7 months ago
JSON representation
Simple dynamic file content serving HTTP server.
- Host: GitHub
- URL: https://github.com/bwplotka/prom-source-http
- Owner: bwplotka
- License: apache-2.0
- Created: 2016-08-18T19:13:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-18T19:17:00.000Z (over 9 years ago)
- Last Synced: 2025-04-04T13:30:30.568Z (10 months ago)
- Language: Go
- Size: 3.57 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prom-source-http
An HTTP server which serves content of the file for further use by Prometheus.
For that use GET `/_metrics`
It can also fetch Prometheus text-formatted (*.prom) endpoint and dump the result as JSON.
For that use GET `/_metrics.json?url=`
Use `prom-source-http --help` for details.