Hi guys, thanks for all you do in this space. I ha...
# support
i
Hi guys, thanks for all you do in this space. I have a slight issue, my python app was instrumented with gunicorn using the config below.
Copy code
OTEL_RESOURCE_ATTRIBUTES="service.namespace=api,deployment.environment=dev" OTEL_EXPORTER_OTLP_ENDPOINT="<http://localhost:4318>" opentelemetry-instrument --service_name api_staging --traces_exporter "otlp_proto_http" --metrics_exporter "otlp_proto_http" gunicorn -c config.py main:app
But I keep getting this error on the console
Copy code
HTTPConnectionPool(host='otel-collector', port=4318): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9561486e00>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
How can I resolve this?