Skip to content

Conversation

jinja2
Copy link
Collaborator

@jinja2 jinja2 commented Aug 12, 2025

Description:

splunk-otel-python image does not have the same python opentelemetry instrumentation libraries as the old image.

@jinja2 jinja2 force-pushed the splunk-otel-python branch from 01b27bb to dbe65f2 Compare August 12, 2025 17:36
@jinja2
Copy link
Collaborator Author

jinja2 commented Aug 12, 2025

Output of the shell cmds from the app container showing the missing flask instrumentation lib -

Defaulted container "python-test" out of: python-test, opentelemetry-auto-instrumentation-python (init)
Installed OpenTelemetry packages:
opentelemetry-api                            1.35.0
opentelemetry-exporter-otlp-proto-common     1.35.0
opentelemetry-exporter-otlp-proto-grpc       1.35.0
opentelemetry-exporter-otlp-proto-http       1.35.0
opentelemetry-instrumentation                0.56b0
opentelemetry-instrumentation-system-metrics 0.56b0
opentelemetry-propagator-b3                  1.35.0
opentelemetry-proto                          1.35.0
opentelemetry-sdk                            1.35.0
opentelemetry-semantic-conventions           0.56b0
splunk-opentelemetry                         2.5.0
Flask instrumentation not found, installing...
Collecting opentelemetry-instrumentation-flask==0.46b0
  Downloading opentelemetry_instrumentation_flask-0.46b0-py3-none-any.whl.metadata (2.1 kB)
Collecting opentelemetry-instrumentation-wsgi==0.46b0
  Downloading opentelemetry_instrumentation_wsgi-0.46b0-py3-none-any.whl.metadata (2.0 kB)
Collecting opentelemetry-util-http==0.46b0
  Downloading opentelemetry_util_http-0.46b0-py3-none-any.whl.metadata (2.4 kB)
Downloading opentelemetry_instrumentation_flask-0.46b0-py3-none-any.whl (14 kB)
Downloading opentelemetry_instrumentation_wsgi-0.46b0-py3-none-any.whl (13 kB)
Downloading opentelemetry_util_http-0.46b0-py3-none-any.whl (6.9 kB)
Installing collected packages: opentelemetry-util-http, opentelemetry-instrumentation-wsgi, opentelemetry-instrumentation-flask
Successfully installed opentelemetry-instrumentation-flask-0.46b0 opentelemetry-instrumentation-wsgi-0.46b0 opentelemetry-util-http-0.46b0
Flask instrumentation installed successfully

image: quay.io/signalfx/splunk-otel-instrumentation-python:v2.7.0
env:
- name: OTEL_EXPERIMENTAL_RESOURCE_DETECTORS
value: ""
Copy link
Collaborator Author

@jinja2 jinja2 Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default, host and process detectors are enabled. This seems to have disabled them.

@jinja2 jinja2 changed the title [chore] Use splunk-otel-python for python auto-instrumentation Use splunk-otel-python for python auto-instrumentation Sep 15, 2025
@jinja2 jinja2 marked this pull request as ready for review September 16, 2025 00:00
@jinja2 jinja2 requested review from a team as code owners September 16, 2025 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant