mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
1c96fbb992
This PR adds the `/status/config` endpoint which exposes the currently loaded Prometheus config. This is the same config that is displayed on `/config` in the UI in YAML format. The response payload looks like such: ``` { "status": "success", "data": { "yaml": <CONFIG> } } ``` |
||
---|---|---|
.. | ||
testdata | ||
config_default_test.go | ||
config_test.go | ||
config_windows_test.go | ||
config.go |