apm-agent-rum-js icon indicating copy to clipboard operation
apm-agent-rum-js copied to clipboard

Support capturing user-defined metrics

Open hmdhk opened this issue 6 years ago • 1 comments
trafficstars

Currently there is no way to capture user-defined metrics (key/values) on their own (they need to be added to transactions). Furthermore some metrics do not fit into any single transaction, for example the average XHR response time over the life-time of the page.

Related issues:

  • https://github.com/elastic/apm-agent-js-base/issues/33
  • https://github.com/elastic/apm-agent-js-base/issues/169
  • https://github.com/elastic/apm-dev/issues/264

Further discussion: https://discuss.elastic.co/t/rum-simplified-sending-of-custom-metrics/170470/5

hmdhk avatar Mar 01 '19 12:03 hmdhk

For INP we might want to revisit this since it doesn't seem to fit with any of the transaction types we have.

Just thinking out loud 😄

cc: @kyungeunni @vigneshshanmugam

devcorpio avatar Oct 14 '22 14:10 devcorpio