Splunk Cloud Platform

Splunk APM integration with Python app not working?

bernasable
New Member
We're trying to integrate splunk APM to a python based app but the service doesn't appear in the APM list. 
The integration works locally, but not in the same service deployed in our Kubernetes cluster

We have added the following env variables into the deployment manifest of the application:

- name: SPLUNK_OTEL_AGENT
   valueFrom:
        fieldRef:
             fieldPath: status.hostIP
- name: OTEL_EXPORTER_OTLP_ENDPOINT
   value: "http://$(SPLUNK_OTEL_AGENT):4317"
- name: OTEL_SERVICE_NAME
   value: "my-app"
- name: OTEL_RESOURCE_ATTRIBUTES
   value: "deployment.environment=development"


We also tried to add these additional variables to try to send the data directly, but it still didn't work

- name: SPLUNK_ACCESS_TOKEN
   value: "******"
- name: OTEL_TRACES_EXPORTER
   value: "jaeger-thrift-splunk"
- name: OTEL_EXPORTER_JAEGER_ENDPOINT



Labels (1)
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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...