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

Collect custom HTTP headers #142

Merged
merged 6 commits into from
Aug 13, 2020
Merged

Collect custom HTTP headers #142

merged 6 commits into from
Aug 13, 2020

Conversation

andrewslotin
Copy link
Contributor

This PR introduces the HTTP header collection feature to the HTTP instrumentation wrappers. Both request and response headers defined either in the (instana.TracerOptions).CollectableHTTPHeaders provided to instana.InitSensor() or the extra-http-headers filed of com.instana.tracing section of the Host Agent Configuration file are now attached to the request/response span and sent to the host agent for collection.

Closes #64

@andrewslotin andrewslotin merged commit d9b9865 into master Aug 13, 2020
@andrewslotin andrewslotin deleted the collect_http_headers branch August 13, 2020 13:44
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.

Add example of how to capture HTTP headers
1 participant