Commit d8a49d3
committed
fix(observability): stop stamping node on the SM/PM scraping path
The prometheusCR pipeline ran set_node_name/promote_node_name, unconditionally
overwriting k8s.node.name with the scraping agent's own node. That is only
correct when per-node placement succeeds; under the consistent-hashing fallback
(cross-node target) it mislabels the metric, and it clobbers any node label the
target/relabeling already set. Per-node placement is verified via the Target
Allocator logs, so the stamp is not needed here -- remove both transforms from
the prometheusCR pipeline. The shared transform definitions stay for the
node-level pipelines (cadvisor, node_exporter, etc.) where the agent's node is
the metric's node.1 parent d57f318 commit d8a49d3
1 file changed
Lines changed: 0 additions & 8 deletions
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | 862 | | |
869 | 863 | | |
870 | 864 | | |
871 | 865 | | |
872 | 866 | | |
873 | | - | |
874 | | - | |
875 | 867 | | |
876 | 868 | | |
877 | 869 | | |
| |||
0 commit comments