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

nginx: add support for scriptable attributes #6

Merged
merged 7 commits into from
Mar 10, 2021

Conversation

seemk
Copy link
Contributor

@seemk seemk commented Mar 9, 2021

Support adding user specified span attributes via nginx configuration, i.e. opentelemetry_attribute "my.custom.attribute" "foobar";. nginx variables can be used to set or combine the attribute values, for example opentelemetry_attribute "my.custom.attribute" "user:$http_user_agent time:$msec";.

@seemk
Copy link
Contributor Author

seemk commented Mar 9, 2021

PS. Don't merge yet, fixing an issue

@seemk
Copy link
Contributor Author

seemk commented Mar 10, 2021

Ready for a merge now

@lalitb lalitb merged commit 048c48b into open-telemetry:main Mar 10, 2021
@marcalff marcalff added the instrumentation:nginx Nginx module label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants