From df31bfd59d6ea1814862e69a29e1ebecddb8b43b Mon Sep 17 00:00:00 2001
From: Jeanette Tan
Date: Wed, 28 Jan 2026 02:48:07 +0800
Subject: [PATCH] Update docs about ignoring info metrics
Signed-off-by: Jeanette Tan
---
docs/querying/functions.md | 2 ++
web/ui/mantine-ui/src/promql/functionDocs.tsx | 6 ++++++
2 files changed, 8 insertions(+)
diff --git a/docs/querying/functions.md b/docs/querying/functions.md
index 0cae149dd7..3a9b7025f8 100644
--- a/docs/querying/functions.md
+++ b/docs/querying/functions.md
@@ -568,6 +568,8 @@ While `info` normally automatically finds all matching info series, it's possibl
restrict them by providing a `__name__` label matcher, e.g.
`{__name__="target_info"}`.
+Note that if there are any time series in `v` that match the `data-label-selector` (or the default `target_info` if that argument is not specified), they will be treated as info series and will be returned unchanged.
+
### Limitations
In its current iteration, `info` defaults to considering only info series with
diff --git a/web/ui/mantine-ui/src/promql/functionDocs.tsx b/web/ui/mantine-ui/src/promql/functionDocs.tsx
index a9d9ca53a9..4cc70a39e6 100644
--- a/web/ui/mantine-ui/src/promql/functionDocs.tsx
+++ b/web/ui/mantine-ui/src/promql/functionDocs.tsx
@@ -1756,6 +1756,12 @@ const funcDocs: Record = {
.
+
+ Note that if there are any time series in v that match the data-label-selector (or the
+ default target_info if that argument is not specified), they will be treated as info series and
+ will be returned unchanged.
+
+
Limitations