mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 23:20:33 +00:00
Merge branch 'pratik/otel-phase10-workload-validation' into pratik/perf-test-otel-on
This commit is contained in:
@@ -151,6 +151,15 @@ otelcol.processor.transform "tier" {
|
||||
`delete_key(attributes, "telemetry.sdk.language")`,
|
||||
`delete_key(attributes, "telemetry.sdk.name")`,
|
||||
`delete_key(attributes, "telemetry.sdk.version")`,
|
||||
// Grouped legend labels must be built here too, not only in
|
||||
// metric_statements: span-derived RED metrics (span_calls_total,
|
||||
// span_duration_*) are produced by the spanmetrics connector from these
|
||||
// TRACES and go straight to the batch processor, bypassing the metric
|
||||
// resource statements. Building the labels on the span resource keeps
|
||||
// span-based dashboard panels' legends consistent with native metrics.
|
||||
`set(attributes["resource_group"], attributes["service.instance.id"]) where attributes["service.instance.id"] != nil and attributes["service.instance.id"] != ""`,
|
||||
`set(attributes["resource_group"], Concat([attributes["resource_group"], attributes["xrpl.network.type"]], "-")) where attributes["resource_group"] != nil and attributes["xrpl.network.type"] != nil and attributes["xrpl.network.type"] != ""`,
|
||||
`set(attributes["iac_group"], Concat([attributes["xrpl.branch"], attributes["xrpl.node.role"], attributes["xrpl.work.item"]], "-")) where attributes["xrpl.branch"] != nil and attributes["xrpl.branch"] != "" and attributes["xrpl.node.role"] != nil and attributes["xrpl.node.role"] != "" and attributes["xrpl.work.item"] != nil and attributes["xrpl.work.item"] != ""`,
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user