We have a hard coded string for ServletRequestListener on the Transaction object that causes the metric name to be incorrect for jakarta implementations.
Expected Behavior
javax initialized code should have metric names as such.
likewise, jakarta initialized code should have metric names as such
Description
metrics are currently misnamed for
jakarta.servelet.ServletRequestListener
asjavax.servlet.ServletRequestListner
https://github.com/newrelic/newrelic-java-agent/blob/06c4e2ef4c5c66d5573d294acbf729a943d709e2/newrelic-agent/src/main/java/com/newrelic/agent/Transaction.java#L126We have a hard coded string for ServletRequestListener on the Transaction object that causes the metric name to be incorrect for jakarta implementations.
Expected Behavior
javax initialized code should have metric names as such. likewise, jakarta initialized code should have metric names as such