mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
Revert "ci(telemetry): recognize perf-iac identity labels in otel-naming Rule D"
This reverts commit 48747bab4c.
This commit is contained in:
@@ -822,8 +822,6 @@ def run_rule_d_dashboards(
|
||||
"service_instance_id",
|
||||
"job",
|
||||
"instance",
|
||||
"xrpl_branch", # perf-iac identity label: git ref of the build under test
|
||||
"xrpl_node_role", # perf-iac identity label: validator/peer role in the perf cluster
|
||||
}
|
||||
# A dashboard label is valid if it is a span attribute (L1), a native-metric
|
||||
# label (L6), or a Prometheus/Grafana builtin.
|
||||
|
||||
@@ -744,12 +744,6 @@ class RuleDDashboards(unittest.TestCase):
|
||||
[],
|
||||
)
|
||||
|
||||
def test_perf_iac_identity_labels_not_flagged(self):
|
||||
self.assertEqual(
|
||||
self._run('"expr": "sum by (xrpl_branch, xrpl_node_role) (x)"', set()),
|
||||
[],
|
||||
)
|
||||
|
||||
def test_prometheus_name_label_not_flagged(self):
|
||||
# `__name__` is the Prometheus reserved metric-name label; the renamed
|
||||
# system-*.json dashboards use `sum by (le, __name__)`.
|
||||
|
||||
Reference in New Issue
Block a user