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

adding faas.execution attribute from cf-ray #27

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

rtbenfield
Copy link
Collaborator

This PR resolves #25 by assigning the faas.execution attribute to the CF-Ray header in the fetch handler instrumentation for inbound HTTP requests.

Note that the header is not set by wrangler dev, so this will only take effect on deployed Workers and Durable Objects.

Copy link
Owner

@evanderkoogh evanderkoogh left a comment

Choose a reason for hiding this comment

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

lgtm

@evanderkoogh evanderkoogh merged commit 75d1633 into evanderkoogh:main Jul 24, 2023
@rtbenfield rtbenfield deleted the faas-execution branch July 24, 2023 11:25
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.

faas.execution semantic attribute with CF-Ray
2 participants