From 31f330368a18d1b2d1e7c42de259d37d3fe70517 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 10 May 2024 19:14:10 +0800 Subject: [PATCH] doc/prometheus.md: add metrics? in URL exporter URI the metrics are always exported with /metrics. so fix the document to reflect this fact. Signed-off-by: Kefu Chai Closes scylladb/seastar#2235 --- doc/prometheus.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/prometheus.md b/doc/prometheus.md index fc16c28e14a..0c4972af209 100644 --- a/doc/prometheus.md +++ b/doc/prometheus.md @@ -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.