From 53b7288e0d5da1d53779fe7919c141f242ad5165 Mon Sep 17 00:00:00 2001 From: hagen1778 Date: Thu, 24 Oct 2024 12:09:30 +0200 Subject: [PATCH] docs: clarify that auto generated metrics can't be relabeled in scrape config Signed-off-by: hagen1778 --- docs/vmagent.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/vmagent.md b/docs/vmagent.md index 45a693a3e..74981aca8 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -567,6 +567,8 @@ and attaches `instance`, `job` and other target-specific labels to these metrics If the target exports metrics with names clashing with the automatically generated metric names, then `vmagent` automatically adds `exported_` prefix to these metric names, so they don't clash with automatically generated metric names. +Relabeling defined in `relabel_configs` or `metric_relabel_configs` of scrape config isn't applied to automatically +generated metrics. But they still can be relabeled via `-remoteWrite.relabelConfig` before sending metrics to remote address. ## Relabeling