Splunk Observability Cloud

No Data in Splunk O11y for Python Applications

Eshwar
Engager

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?

 

Eshwar_0-1779792600108.png

 

Regards,

Eshwar

 

 

0 Karma

bishida
Splunk Employee
Splunk Employee

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"

0 Karma

Eshwar
Engager

Any advice?

Regards,

Eshwar

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...