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]>
  • Loading branch information
tchaikov committed May 10, 2024
1 parent d3657ec commit dbe1d1f
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 dbe1d1f

Please sign in to comment.