I have a java servlet application running via otel agent in tomcat server. I can see the traces and default metrics created by application coming into my collector and eventually into datadog.
However, I wanted to add some custom metric Histograms. So, I created the meter object using GlobalOpenTelemetry
Meter meter = GlobalOpenTelemetry.getMeter("")
LongHistogram myhistogram = meter.histogramBuilder(...)
....
When I set the -Dotel.metrics.exporter=otlp,logging , I can see the metric value logged on my console, but nothing shows up on collector or datadog.
I have a java servlet application running via otel agent in tomcat server. I can see the traces and default metrics created by application coming into my collector and eventually into datadog.
However, I wanted to add some custom metric Histograms. So, I created the meter object using GlobalOpenTelemetry
When I set the
-Dotel.metrics.exporter=otlp,logging
, I can see the metric value logged on my console, but nothing shows up on collector or datadog.Any help in this matter is appreciated.