Extensions
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Legacy metric event though EF2

elenaperez
Dynatrace Guide
Dynatrace Guide

Hi team,


We noticed the following in the Kafka version in use (2.5).
In Dynatrace, the metric is displayed as:
legacy.kafka.kafka.network.RequestMetrics.RequestsPerSec.FetchConsumer.OneMinuteRate.request
However, in the extension documentation, it appears as:
kafka.network.RequestMetrics.RequestsPerSec.FetchConsumer.OneMinuteRate
Could this difference be related to the deprecated Kafka version, or is there another reason why Dynatrace is reporting the metric with the legacy.kafka prefix and the additional .request suffix?

They are using EF2 and the only available metric is the legacy one.

elenaperez_1-1785227665661.png

 

They also don't seem to have any custom EF1 JMX metrics.


Thanks in advance!

1 REPLY 1

sujit_k_singh
Champion

Hi @elenaperez 

I'm not sure whether this has been resolved yet since this is a bit of an older post, but here is my two cents on the issue:

This behavior is typically not related to Kafka 2.5 being deprecated. When Dynatrace captures JMX MBeans via the legacy JMX plugin framework (EF 1.0) rather than through the new EF 2.0 engine, it prepends legacy. (or legacy.kafka.) to avoid metric key collisions with Extensions 2.0. If EF2 isn't receiving or binding to the expected MBean attributes directly, the backend falls back to reporting the legacy metrics captured by OneAgent.

The .request suffix is appended by OneAgent's legacy JMX metric generator when converting counter attributes or multi-value composite data structures into standalone metric keys.

Thanks,

Sujit

Dynatrace Professional Certified

Featured Posts