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

Extracting metrics from Prometheus endpoint

gofman_anatoly
Contributor

Hi

I am trying to get confluent metrics from Prometheus.

I saw the in the documentation (https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/data-sources/prometheus-extensi... that we can either use /metrics in the URL as the endpoint, or /api/v1/targets

Currently I am having issues with my /metrics endpoint, so I wanted to know how I can extract the same metrics using /api/v1/targets? is that possible or does it return different data than the metrics I am looking for?

 

Thanks in advance

Anatoly.

2 REPLIES 2

ChadTurner
DynaMight Legend
DynaMight Legend

@gofman_anatoly this is a new one for me. Are you still having the issue? If you were able to resolve it could you please share with the community what you did to resolve it?

-Chad

gofman_anatoly
Contributor

Hi @ChadTurner 

We stopped using our custom extension and now working with Confluent Kafka extension provided by Dynatrace.

Best Regards

Anatoly.