zip code short circuit

This commit is contained in:
Will Freeman
2026-04-26 17:14:57 -06:00
parent 3019d87f53
commit ae861e8e7b
6 changed files with 91 additions and 10 deletions
+8 -1
View File
@@ -33,6 +33,13 @@ processors:
span:
- 'status.code != STATUS_CODE_ERROR'
# Drop 404 log records to reduce noise
filter/drop_404_logs:
error_mode: ignore
logs:
log_record:
- 'attributes["http.response.status_code"] == 404'
exporters:
otlp_http/grafana:
endpoint: ${env:GRAFANA_OTLP_ENDPOINT}
@@ -60,7 +67,7 @@ service:
exporters: [otlp_http/grafana]
logs:
receivers: [otlp]
processors: [batch]
processors: [filter/drop_404_logs, batch]
exporters: [otlp_http/grafana]
metrics:
receivers: [otlp]