Skip to content

Conversation

wangzlei
Copy link
Contributor

@wangzlei wangzlei commented Oct 7, 2025

Description of changes:
If set environment variable OTEL_AWS_CODE_CORRELATION_ENABLED=true, django server spans have code-level information.

        "http.route": "template/",
        "code.function.name": "views.TestTemplateView.get",
        "code.file.path": "/Volumes/workplace/extension/aws-otel-python-instrumentation/samples/django/views.py",
        "code.line.number": 59,
        "http.status_code": 200

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@wangzlei wangzlei requested a review from a team as a code owner October 7, 2025 17:16
@wangzlei wangzlei added the skip changelog doesn't need a CHANGELOG entry label Oct 7, 2025
@wangzlei wangzlei merged commit 39083ff into aws-observability:main Oct 8, 2025
16 checks passed
jj22ee added a commit to jj22ee/aws-otel-python-instrumentation that referenced this pull request Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog doesn't need a CHANGELOG entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants