newrelic-java-agent icon indicating copy to clipboard operation
newrelic-java-agent copied to clipboard

[Spike] Option to report JMX metrics to only the application named in the newrelic.yml

Open kbford56 opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe.

Looking for an optimization of JMX metrics to reduce duplication.

Feature Description

When auto-application naming is used JMX metrics can be duplicated across applications running within the same JVM. Which can lead to data ingest bloat without much value.

Describe Alternatives

Requesting either treating these as a Background task as described in this doc, or provide the option to only report JMX to the application name listed in the newrelic.yml file.

Additional context

See NR-159169 for any customer specific details.

Priority

Must Have

kbford56 avatar Nov 08 '23 20:11 kbford56

https://new-relic.atlassian.net/browse/NR-178679

With other types of metrics/data that get split up across the various APM entities created by auto-application naming, we achieve that by creating reservoirs that map to each app name and storing only the data associated with a specific app name in the appropriate reservoirs.

jasonjkeller avatar Dec 12 '23 22:12 jasonjkeller

Not clear on the technical feasibility - will need to spike on this

kbford56 avatar Dec 13 '23 12:12 kbford56