Hi Community,
Good day!
We have Python (Flask) applications hosted on an IIS web server, where the environment has been configured virtually. We would like to instrument the Python application data and send it to the Splunk Observability Cloud. Additionally, we have installed the OpenTelemetry (OTel) Collector to collect host-level and IIS web server metrics. The OTel Collector is successfully collecting and forwarding host and IIS metrics to the Splunk Observability Cloud.
We have installed the Splunk Python agent and configured the required environment variables at the application level in IIS Manager for instrumentation, as shown below. After restarting the IIS server and accessing the application multiple times, we are still not seeing any application data flowing into the Splunk Observability Cloud.
Could you kindly review the issue and advise on the required steps to resolve it?
Regards,
Eshwar
Hi,
Couple of quick observations on your env vars.
OTEL_EXPORTER_OTLP_PROTOCOL value looks suspicious. I would expect it to be "http/protobuf".
OTEL_EXPORTER_OTLP_ENDPOINT value looks suspicious. port 4318 is the default port for http and 4317 is the default port for grpc. If yours is truly 4319, that means you've customized it, so maybe double check that in the case that you are running on a custom port. Otherwise, I would expect the value to be "http://localhost:4318"
Any advice?
Regards,
Eshwar