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 <noreply@anthropic.com>
This commit is contained in:
Pratik Mankawde
2026-07-03 19:42:41 +01:00
parent 294b167355
commit 20179dc0ed

View File

@@ -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]