Examples of using OpenTelemetry exemplars in Java code

I already know how to create a count metric with the following code, and this metric can be displayed in Dynatrace. How can I incorporate OpenTelemetry exemplars into my code? Or are OpenTelemetry exemplars not yet compatible with Dynatrace?

Hi,

Please check Manually instrument your Java application with OpenTelemetry 
Also you can refer to opentelemetry Github examples

1 Like

Hi @PacoPorro , Thanks for your answer, But I git clone it, I didn’t see any java code using the feature of “OpenTelemetry exemplars”

Ouch!

I read “opentelemetry examples” instead of examplars. Sorry.