-
Notifications
You must be signed in to change notification settings - Fork 528
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
Introduce apm-server.response_headers config #4523
Conversation
Like apm-server.rum.response_headers, but for all HTTP responses. If both are defined, then they will both be added to RUM responses.
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
|
Codecov Report
@@ Coverage Diff @@
## master #4523 +/- ##
==========================================
- Coverage 75.94% 75.92% -0.03%
==========================================
Files 161 161
Lines 9783 9786 +3
==========================================
Hits 7430 7430
- Misses 2353 2356 +3
|
* Introduce apm-server.response_headers config Like apm-server.rum.response_headers, but for all HTTP responses. If both are defined, then they will both be added to RUM responses.
Tested with BC1 - works as expected. @axw response headers are not applied to the Jaeger http endpoint but I assume that's also not required. |
Hmm I had forgotten about that TBH. I think that's OK for the moment since the Jaeger has its own config, and we'll add it on if/when we mux them. |
Motivation/summary
Like
apm-server.rum.response_headers
, but for all HTTP responses. If both are defined, then they will both be added to RUM responses, with values for the same key concatenated.Checklist
I have considered changes for:
- [ ] logging (add log lines, choose appropriate log selector, etc.)- [ ] metrics and monitoring (create issue for Kibana team to add metrics to visualizations, e.g. Kibana#44001)- [ ] telemetry- [ ] Elasticsearch Service (https://cloud.elastic.co)- [ ] Elastic Cloud Enterprise (https://www.elastic.co/products/ece)- [ ] Elastic Cloud on Kubernetes (https://www.elastic.co/elastic-cloud-kubernetes)How to test these changes
cd systemtest && go test -v
Related issues
Closes #4522