elastic / apm

Elastic Application Performance Monitoring - resources and general issue tracking for Elastic APM.
https://www.elastic.co/apm
Apache License 2.0
384 stars 114 forks source link

Enable custom metrics collection with AWS Lambda #637

Open AlexanderWert opened 2 years ago

AlexanderWert commented 2 years ago

Description

Currently metrics collection is disabled on APM agents when they run on AWS Lambda. Reporting periodically collected metrics ( CPU usage, etc. ) requires a proper strategy on the Lambda extension or the APM server and will be handled in a separate issue.

With this issue, we want to enable collection of custom metrics (e.g. counters collected through corresponding metrics libraries, such as Micrometer, Prometheus, Node Agent's metrics API). Custom metrics should be flushed at the end of a Lambda execution in the same way it's currently done with the trace data.

Spec Issue

Agent Issues