# OpenTelemetry Collector for the Scrabble contour. Receives OTLP/gRPC from the # three services (backend, gateway, connector — pkg/telemetry exports OTLP only), # fans metrics out to a Prometheus scrape endpoint and traces to Tempo. receivers: otlp: protocols: grpc: endpoint: 0.0.0.0:4317 processors: batch: {} exporters: # Exposes the collected metrics for Prometheus to scrape (otelcol:9464/metrics). # add_metric_suffixes:false keeps the instrument names verbatim (no _seconds / # _total unit/type suffixes) so the dashboards' PromQL matches the names defined # in code; resource_to_telemetry_conversion promotes service.name to a label. prometheus: endpoint: 0.0.0.0:9464 add_metric_suffixes: false resource_to_telemetry_conversion: enabled: true # Forwards traces to Tempo's OTLP ingest. otlp/tempo: endpoint: tempo:4317 tls: insecure: true service: pipelines: traces: receivers: [otlp] processors: [batch] exporters: [otlp/tempo] metrics: receivers: [otlp] processors: [batch] exporters: [prometheus]