router
router copied to clipboard
Error repeats every 10s in the logs when the prometheus exporter is enabled.
Router logging a error when the prometheus exporter is enabled.
telemetry:
apollo:
field_level_instrumentation_sampler: always_off
exporters:
metrics:
otlp:
enabled: false
prometheus:
enabled: true
listen: 0.0.0.0:9090
path: /metrics
This is logged
OpenTelemetry metric error occurred: Metrics exporter otlp failed with the grpc server returns error (The service is currently unavailable): , detailed error message: Connection reset by peer (os error 104)
To Reproduce
Steps to reproduce the behavior:
- Add the prometheus config to config.yaml
- Deploy the router application.
- See error
Expected behavior
Error is not logged.
Output
If applicable, add output to help explain your problem.
This is using v2.1.0 of the router.
Additional context
Add any other context about the problem here. This config is also being set APOLLO_TELEMETRY_DISABLED=true