28 Jan 2024 02:49 PM - last edited on 06 Feb 2024 01:08 PM by MaciejNeumann
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:
28 Jan 2024 04:44 PM
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.
26 Jun 2024 09:11 AM
The issue is with your metric type. It needs to one among `count`, `gauge`, `histogram` or `summary`. `seconds` is an invalid metric type.
https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/data-sources/prometheus-extensions/pro...
P.S. If you're converting Prometheus metrics output to dynatrace extension, you will have to change `counter` to `count`.
29 Jul 2024 03:53 PM
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.
27 Nov 2024 12:24 PM
You've spelt it Guage and not Gauge, might that be your issue or is it just a typo on here?