Replies: 1 comment 1 reply
-
The referenced settings file is right there https://github.com/open-telemetry/opentelemetry-python/blob/main/docs/examples/django/instrumentation_example/settings.py. This example uses the console exporter to illustrate the tracing in action so there is nothing to mention about settings such as endpoint, port etc. For detailed guide to various ways you can use the api/sdk/exporters for instrumentation please refer to https://opentelemetry.io/docs/instrumentation/python/. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This example: https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples/django
says:
"
Set these environment variables first:
export DJANGO_SETTINGS_MODULE=instrumentation_example.settings
"
The referenced settings file is not provided in the example. There is no discussion of how to configure the auto instrumentation e.g. to set the exporter type, endpoint, port etc. and my guess is that that information needs to be provided via the settings file
So, while I'd like to try this out, I can't really get started. Is there another doc that explains how to set things up ? Thanks !
Beta Was this translation helpful? Give feedback.
All reactions