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

Add include/exclude filtering for metrics to APM integration

Open matschaffer opened this issue 2 years ago • 2 comments

When collecting metrics with the prometheus integration we have the option to specify include/exclude filters

Screen Shot 2022-06-16 at 16 10 00 (1)

We should probably have a similar mechanism when using APM server to collect metrics (for example, using OpenTelemetry metrics SDK). This should help control bandwidth between apm-server and elasticsearch when collecting telemetry from a thoroughly instrumented process.

matschaffer avatar Jun 21 '22 06:06 matschaffer

@chrisdistasio @cyrille-leclerc any thoughts on this?

simitt avatar Jul 27 '22 06:07 simitt

I had a new thought on this that it might also be beneficial to give the agents options to not send certain metrics. Though maybe this is too much to happen in-process.

matschaffer avatar Jul 27 '22 07:07 matschaffer