Update docs about ignoring info metrics

Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
This commit is contained in:
Jeanette Tan 2026-01-28 02:48:07 +08:00
parent 304dcdf695
commit df31bfd59d
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -1756,6 +1756,12 @@ const funcDocs: Record<string, React.ReactNode> = {
.
</p>
<p>
Note that if there are any time series in <code>v</code> that match the <code>data-label-selector</code> (or the
default <code>target_info</code> if that argument is not specified), they will be treated as info series and
will be returned unchanged.
</p>
<h3>Limitations</h3>
<p>