mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-21 20:23:39 +09:00
docs(monitoring): state when the identity scrape class can be overridden
The exported_* rename only protects scrapes that do not honor exporter labels, and a scrape object's own relabel rules run after the class, so both can undo it. Saying so next to the rules keeps the next scrape author from assuming the protection is unconditional. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
This commit is contained in:
1 parent
0e5557d0ba
commit
dca95eb753
2 files changed
+10
-6
No files matched your search
@@ -22,9 +22,11 @@ spec:
|
||||
selectAllByDefault: true
|
||||
# The target always carries all three identity labels, "-" when the pod
|
||||
# has no lineage ("-" is not a valid Kubernetes label value, so it never
|
||||
# collides with a real one). That makes every exporter-supplied copy
|
||||
# collide and be renamed to exported_* (honorLabels false), where it is
|
||||
# dropped; the placeholder itself is removed before storage.
|
||||
# collides with a real one). Under honorLabels false every exporter-supplied
|
||||
# copy then collides, is renamed to exported_* and dropped. Under
|
||||
# honorLabels true the exporter's copy wins, so such a scrape must drop
|
||||
# these labels itself. A scrape object's own relabel rules run after these
|
||||
# and must leave the labels alone. The placeholder is removed before storage.
|
||||
scrapeClasses:
|
||||
- name: application-identity
|
||||
default: true
|
||||
|
||||
@@ -26,9 +26,11 @@ spec:
|
||||
selectAllByDefault: false
|
||||
# The target always carries all three identity labels, "-" when the pod
|
||||
# has no lineage ("-" is not a valid Kubernetes label value, so it never
|
||||
# collides with a real one). That makes every exporter-supplied copy
|
||||
# collide and be renamed to exported_* (honorLabels false), where it is
|
||||
# dropped; the placeholder itself is removed before storage.
|
||||
# collides with a real one). Under honorLabels false every exporter-supplied
|
||||
# copy then collides, is renamed to exported_* and dropped. Under
|
||||
# honorLabels true the exporter's copy wins, so such a scrape must drop
|
||||
# these labels itself. A scrape object's own relabel rules run after these
|
||||
# and must leave the labels alone. The placeholder is removed before storage.
|
||||
scrapeClasses:
|
||||
- name: application-identity
|
||||
default: true
|
||||
|
||||
Reference in new issue
Block a user