Skip to content

Conversation

wangzlei
Copy link
Contributor

@wangzlei wangzlei commented Oct 4, 2025

Description of changes:
If set environment variable OTEL_AWS_CODE_CORRELATION_ENABLED=true, server spans of starlette, fastapi, flask and aws lambda have code-level information.

    "attributes": {
        "code.function.name": "home",
        "code.file.path": "/Volumes/workplace/extension/aws-otel-python-instrumentation/samples/fastapi/app.py",
        "code.line.number": 87,
    },

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 4, 2025 05:00
@wangzlei wangzlei added the skip changelog doesn't need a CHANGELOG entry label Oct 4, 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.

1 participant