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

Ingest custom application open metrics onto Dynatrace SaaS using OneAgent

karthikr
Newcomer

Team,

Can anyone please advise how do we ingest custom application open metrics onto Dynatrace SAAS using OneAgent? I am able to ingest the open metrics through OpenTelemetry, but not sure where to configure open metrics on OneAgent to bring the metrics into Dynatrace as OneAgent is not able to detect the metrics on its own.

5 REPLIES 5

PacoPorro
Dynatrace Champion
Dynatrace Champion

With the OneAgent on the same host, metrics from opentelemetry are automatically sent to the OneAgent metric API.  But you need to enable the metrics API .

PacoPorro_0-1708609718004.png

 

Thanks @PacoPorro for your response, Can't we ask OneAgent to directly pull the custom application metrics rather than using OpenTelemetry component as the additional layer to pull the application metrics?

FYI - I am able to get the application metrics data in Dynatrace SAAS with the use of OpenTelemetry agent by using otlphttp exporters - https://{environmentid}.live.dynatrace.com/api/v2/otlp. (here OneAgent is not all being used)

And I would like to avoid the usage of OpenTelemetry agent by just asking Dynatrace oneAgent alone to pull the metrics and ingest the metrics data into Dynatrace SAAS.

Would that be possible at all?

PacoPorro
Dynatrace Champion
Dynatrace Champion

Not sure if you're looking for the Dynatrace metric exporter.
https://github.com/dynatrace-oss/opentelemetry-metric-java?tab=readme-ov-file

Thanks @PacoPorro for your response.

Not Exactly. I am trying to eliminate the usage of OpenTelemetry agent on the host. Basically I would like to uninstall OpenTelemetry agent (customer is not interested to use open-source agent) and they just wanted to use Dynatrace OneAgent to collect the custom application metrics and send it to Dynatrace SAAS.

PacoPorro
Dynatrace Champion
Dynatrace Champion

 

My next suggestion is oneagen sdk.

With the Dynatrace OneAgent SDK, you can:

  • Trace incoming and outgoing remote calls

  • Trace database requests

  • Trace incoming and outgoing web requests

  • Trace in-process asynchronous execution

  • Trace queues and messages

  • Capture request attributes

 

Featured Posts