Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct import path for init_tracing #1363

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

garberg
Copy link
Member

@garberg garberg commented Dec 19, 2023

The init_tracing function referred to when initializing tracing in the web UI should be imported from the common NIPAP tracing module.

The init_tracing function referred to when initializing tracing in the
web UI should be imported from the common NIPAP tracing module.
from opentelemetry.instrumentation.wsgi import OpenTelemetryMiddleware
tracing.init_tracing("nipap-www", nipap_config.get("tracing", "otlp_grpc_endpoint"))
nipap.tracing.init_tracing("nipap-www", nipap_config.get("tracing", "otlp_grpc_endpoint"))

Choose a reason for hiding this comment

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

line too long (102 > 79 characters)

@garberg garberg merged commit 7e4a1bd into SpriteLink:master Dec 19, 2023
5 checks passed
@garberg garberg deleted the correct_www_tracing_import branch June 17, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants