Comments (8)
IIRC, we didn't always index all headers. When and why did we change that? Or did we always do that?
from apm-server.
The change was made in #12102. The idea was to align with how we would deal with OpenTelemetry semantic conventions in the future, which would involve dynamically mapping headers.
We could revert to disabling indexing for headers, or switch to flattening them. Either way it's a special case, and not a general solution to avoid hitting field limits.
from apm-server.
Interestingly, that change used the flattened
field type for HTTP headers
http.{request,response}.headers have been changed from object to flattened.
Did this change to dynamically indexing as keywords in the context of the apm-data plugin in Elasticsearch?
from apm-server.
@felixbarny sorry, yes, I should have mentioned earlier: I ended up removing that particular use of flattened
and switched it to being dynamically mapped to keywords, to match what we would end up doing with OTel.
from apm-server.
Both for OTel and for non-OTel, I think we should use flattened
for HTTP headers.
from apm-server.
I think that should be fine. OTOH we've found that using flattened
for stack traces is causing problems for ingesting exceptions with huge amounts of source context or deeply nested vars, so we'll probably revert to disabling there.
from apm-server.
from apm-server.
We'll also need to bring those changes across to the integration package for 8.15.0. We should be pretty close to switching to apm-data, but I think it may be safer to wait until 8.16.0.
from apm-server.
Related Issues (20)
- Support APM Server on Amazon Linux 2023
- [docs] Remove false deprecation note for standalone apm-server
- APM Server 8.13.0 Test Plan HOT 1
- Document release process with the automation workflow HOT 4
- [DOCS] Create openAPI specifications for public APM APIs
- Fix automation, bring back openAPI spec HOT 1
- API UI failing for error events derived from traces with Jaeger agent
- APM Server 8.14.0 Test Plan HOT 7
- ci: minor-release automation is not aligned with expectations HOT 4
- ci: minor-release automation does not sign commits HOT 3
- release: review test plan template
- Perf regression, too many small bulk requests HOT 7
- Document 7.17.20 being broken for apm-server managed by Fleet with self-signed certificates HOT 1
- Fix/Improve APM Server Smoke Tests HOT 5
- APM Event Intake: All errors are considered exceptions. HOT 1
- APM Integration Check Not Compatible With Elastic APM Data Option HOT 4
- Flaky tests due to changes in the geoip database
- custom ILM policy for specific event types in integrated APM server HOT 1
- Kibana does not remove index template for removed data streams on integrations upgrade HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apm-server.