Check compatibility with older APM Server versions
See original GitHub issueWhenever we leverage new features in the Intake API, we have to make sure we are still compatible with older APM Server versions, possibly by conditionally making use of these features, based on the APM Server version(s) we are connected to. We currently do this for allowing non-string values for context.tags
.
- allowing int for
context.request.url.port
https://github.com/elastic/apm-server/commit/af76d15f4ab07468d4b5ae70ed11d34b52014c1a#diff-b3c35663f19380d55a7b0b375e1aeb4a - restricting
error.culprit
to 1024 chars https://github.com/elastic/apm-server/commit/a6de0b066fb181592d8979a21192411255f50623#diff-c3b216f97537a6b919b5e7c300b6ac12 - make
framework.name
andframework.version
optional https://github.com/elastic/apm-server/commit/40d48fa7272b20e039e4b6e31109162649e462ce#diff-e544f4b544de7a8f403607374cc0eacf - Allow number for
tags
https://github.com/elastic/apm-server/commit/a2e6d884ec5efe4c043d3f2d0185ddaab295191b#diff-0d2e9aedcc4779d4c198c03f7ff3febe - Additionally allow array for headers https://github.com/elastic/apm-server/commit/f0f3662a2fc96a06077b193c12fc5f4b00588eb8#diff-b3c35663f19380d55a7b0b375e1aeb4a and https://github.com/elastic/apm-server/commit/ace70ded3d966ca2d945c904371017ac589db3c2#diff-b3c35663f19380d55a7b0b375e1aeb4a
- make
lineno
optional forstacktrace
frames https://github.com/elastic/apm-server/commit/5cbcd7799465f77006c4f676e3080d6ef2e9b787#diff-6ebe279047a91cedeb9464344128e2b7 - make
transaction_id
optional forspans
https://github.com/elastic/apm-server/commit/4f74aead2adfc6df303c584b06171461f6777e0c#diff-07fc096ed421fd31226e44717413b53b
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Agent/Server compatibility | APM Overview [6.8] - Elastic
Agent/Server compatibilityedit. Below is a chart that outlines the compatibility between different versions of the APM agents and the APM Server.
Read more >APM Compatibility Guide 9.1.x - Broadcom Community
5, Application Servers, Versions, Other Systems, Versions ... Messaging System), be sure to check the compatibility tab for that particular product as well....
Read more >Upgrading the Cloud APM server - IBM
When you perform the Cloud APM server upgrade, the Db2® server for the Cloud APM ... Check the Db2 version that is in...
Read more >Upgrade the GE Digital APM Database Server - General Electric
The following instructions assume that your dedicated GE Digital APM Server already contains the version of the GE Digital APM software that corresponds...
Read more >APM - Datadog Docs
Monitor service performance and compare between versions for rolling, blue/green, shadow, ... Check out the latest Datadog APM releases!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I feel this is something that would be a good extension of #882 (check agent payloads against server protocol definition), in the way that instead of checking the “current” version, we would also check for known versions we are supposed to be compatible with.
However, checking json schema might not cover everything regarding compatibility.
Closing based on the comment above