From ae83804ab0708f40dbc0e2a48bf7fe95b6ceee32 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 23 Oct 2025 11:48:36 +0200 Subject: [PATCH] docs: Minor formatting/typo fixes in the HTTP API docs (#17339) Signed-off-by: Julius Volz --- docs/querying/api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/querying/api.md b/docs/querying/api.md index 1ff3beef17..f077e0c5b9 100644 --- a/docs/querying/api.md +++ b/docs/querying/api.md @@ -745,7 +745,7 @@ curl 'http://localhost:9090/api/v1/targets?state=active' ``` ```json - +{ "status": "success", "data": { "activeTargets": [ @@ -781,7 +781,7 @@ curl 'http://localhost:9090/api/v1/targets?scrapePool=node_exporter' ``` ```json - +{ "status": "success", "data": { "activeTargets": [ @@ -945,7 +945,7 @@ contain metric metadata and the target label set. The following example returns all metadata entries for the `go_goroutines` metric from the first two targets with label `job="prometheus"`. -```json +```bash curl -G http://localhost:9091/api/v1/targets/metadata \ --data-urlencode 'metric=go_goroutines' \ --data-urlencode 'match_target={job="prometheus"}' \