dependency T354756
As part of our integration of OpenTelemetry we want to expose prometheus metrics to the OTEL Collector.
Acceptance criteria
- Collector receives metrics from all prometheus targets.
ToDo
- Task definition for OTEL ECS service updated to include prometheus service discovery side-car for scrape_configs
- Use/repurpose this code to set up prometheus service discovery.
- Add prometheus receiver to OTEL config
- Setup TLS in IaC (not required)
Notes: For RFC refer to RFC_OpenTelemetry