Prometheus Extension 2.0 Error 32

Hi,

I am trying to create a prometheus extension following this Dynatrace session. (https://www.youtube.com/watch?v=Qy4Ge8HIzEk&t=3344s)

I am getting the below error: “INVALID_CONFIG_ERROR:Invalid configuration [status code=32]; ; Datasource has exited and will be starting shortly”

metrics are available on the endpoint, http://localhost:9090/metrics

==============================

extension config:

=============================

extension.yaml content:

I am not able to figure out what exactly wrong I am doing. 
Help will be appreciated. Making an extension first time :slightly_smiling_face:.

I think that it is the first time I see that error. I don’t see anything obvious which is wrong. Maybe try reinstalling the OneAgent, and otherwise open a support case.

The issue is with your metric type. It needs to one among `count`, `gauge`, `histogram` or `summary`. `seconds` is an invalid metric type.

P.S. If you’re converting Prometheus metrics output to dynatrace extension, you will have to change `counter` to `count`.

Is there a solution for this yet?  I am also getting this error.  My metric type is set to “guage”, so the type does not seem to be the issue.

You’ve spelt it Guage and not Gauge, might that be your issue or is it just a typo on here?