apm-server icon indicating copy to clipboard operation
apm-server copied to clipboard

Deprecation logs for APM Server (+Agents?)

Open graphaelli opened this issue 3 years ago • 7 comments

Elastic Stack products will start to collect deprecation logs in an elasticsearch index. This issue tracks investigation of:

  • collection of deprecation logs from APM Server itself
  • utility of collecting deprecation logs from agents, likely via some new mechanism

graphaelli avatar Oct 07 '20 22:10 graphaelli

  • When will we deprecate RUM v2 protocol, given we now have v3? Need to check with the RUM agent devs on timeline.
  • Will we deprecate secret token auth once API Key auth is GA?
  • Once data streams and Fleet integration are done, deprecate template/pipeline/ILM etc. setup?

axw avatar Oct 21 '20 08:10 axw

ES is going to write to .logs-deprecation-elasticsearch - let's consider writing to .logs-deprecation-apm to be aligned.

simitt avatar Nov 23 '20 16:11 simitt

Any issues you can link to? Will Elasticsearch install a data stream index template for .logs-deprecation-*, or will we need to create our own?

axw avatar Nov 24 '20 05:11 axw

Nothing to link to yet; good question around the data stream index template - this still needs to be figured out.

simitt avatar Nov 24 '20 09:11 simitt

As of 7.13.0, Elasticsearch will install an index template matching .logs-deprecation-*: https://github.com/elastic/elasticsearch/pull/68737

I propose that we introduce config to enable deprecation logging, and have it enabled automatically when the output is Elasticsearch v7.13.0+. Our deprecation logs would go to .logs-deprecation.apm-default.

axw avatar Apr 30 '21 07:04 axw

@simitt Are you planning to do that for 8.x? I've been looking at this from our side elastic/elastic-agent#122

ph avatar Jan 14 '22 17:01 ph

We have not enabled it for 7.x, no concrete plans yet for 8.x.

simitt avatar Jan 17 '22 10:01 simitt