mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-07-07 12:58:00 +02:00
zip code short circuit
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user