diff --git a/backend/src/main/resources/application.yaml b/backend/src/main/resources/application.yaml index 1d502776..776b2ab1 100644 --- a/backend/src/main/resources/application.yaml +++ b/backend/src/main/resources/application.yaml @@ -86,7 +86,9 @@ otel: otlp: endpoint: ${OTEL_EXPORTER_OTLP_ENDPOINT:http://localhost:4318} logs: - exporter: none # Promtail captures Docker logs; disable OTLP log export to Tempo (which doesn't accept logs) + exporter: none # Promtail captures Docker logs; disable OTLP log export (Tempo only accepts traces) + metrics: + exporter: none # Prometheus scrapes /actuator/prometheus; disable OTLP metric export to Tempo springdoc: api-docs: diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index ff8db357..9fcb453f 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -215,6 +215,7 @@ services: SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE: ${MAIL_STARTTLS_ENABLE:-true} OTEL_EXPORTER_OTLP_ENDPOINT: http://tempo:4318 OTEL_LOGS_EXPORTER: none + OTEL_METRICS_EXPORTER: none MANAGEMENT_METRICS_TAGS_APPLICATION: Familienarchiv MANAGEMENT_TRACING_SAMPLING_PROBABILITY: ${MANAGEMENT_TRACING_SAMPLING_PROBABILITY:-0.1} networks: