From 20179dc0edfdb8300d41c57012da5b1fd5fe761e Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Fri, 3 Jul 2026 19:42:41 +0100 Subject: [PATCH] feat(telemetry): tag logs with deployment tier at the collector Add resource/tier to the logs pipeline so log records carry the same deployment.environment and xrpl.network.type attributes as traces and metrics. This lets a single Grafana stack filter logs by tier alongside the other signals. resource/logs still runs first to set service.name and the job label; resource/tier then adds the tier attributes. Co-Authored-By: Claude Opus 4.8 --- docker/telemetry/otel-collector-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/telemetry/otel-collector-config.yaml b/docker/telemetry/otel-collector-config.yaml index fc7eac4a50..eeebb35b76 100644 --- a/docker/telemetry/otel-collector-config.yaml +++ b/docker/telemetry/otel-collector-config.yaml @@ -167,5 +167,5 @@ service: # batches entries, and exports to Loki for log-trace correlation. logs: receivers: [filelog] - processors: [resource/logs, batch] + processors: [resource/logs, resource/tier, batch] exporters: [otlphttp/loki]