Skip to content

Commit

Permalink
doc/prometheus.md: add metrics? in URL exporter URI
Browse files Browse the repository at this point in the history
the metrics are always exported with /metrics. so fix the document
to reflect this fact.

Signed-off-by: Kefu Chai <[email protected]>

Closes #2235
  • Loading branch information
tchaikov authored and xemul committed May 15, 2024
1 parent bb14305 commit 31f3303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To get all metrics without a `service` label:
http://localhost:9180/metrics?service=

To get all metrics with a `service` label equals `prometheus` and from shard `0`:
http://localhost:9180/service=prometheus&shard=0
http://localhost:9180/metrics?service=prometheus&shard=0

## Remove the help lines
Sending the help associated with each metric on each request is an overhead.
Expand Down

0 comments on commit 31f3303

Please sign in to comment.