Extracting metrics from Prometheus endpoint

Hi

I am trying to get confluent metrics from Prometheus.

I saw them in the documentation (https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/data-sources/prometheus-extensions/prometheus-schema-reference)&data=05%7C01%7Cgofman.anatoly%40il.zim.com%7Cf328fa9cf7fa4718d2d708da327295a0%7Cc3debccf0f644fc98686edeedbe9f513%7C0%7C0%7C637877764954814690%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=agTA0j6HeRVBsvxvjwPe8k0c%2BJ0J2rcL4KatfZ441V0%3D&reserved=0) 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.

@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?

Hi @ChadTurner

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

Best Regards

Anatoly.

Hi @gofman_anatoly - Could you please share the details about the Confluent Kafka extension by Dynatrace, We are trying to write the Confluent extension using prometheus exporter.