diff --git a/demos/shared/logfire/otel-collector-config.yaml b/demos/shared/logfire/otel-collector-config.yaml index d26939e4..7ed8689d 100644 --- a/demos/shared/logfire/otel-collector-config.yaml +++ b/demos/shared/logfire/otel-collector-config.yaml @@ -6,19 +6,24 @@ receivers: http: endpoint: 0.0.0.0:4318 +processors: + filter: + include: + attributes: + http.url: '*/healthz' + drop: true + batch: + timeout: 5s + exporters: otlphttp: endpoint: "https://logfire-api.pydantic.dev" headers: Authorization: "${LOGFIRE_API_KEY}" -processors: - batch: - timeout: 5s - service: pipelines: traces: receivers: [otlp] - processors: [batch] + processors: [filter, batch] exporters: [otlphttp]