I had some help off-list stating that this should just work. After looking into it a bit more, it was simply a matter of adding the right content type to my own endpoint's response.
So adding "application/openmetrics-text; version=1.0.0; charset=utf-8" made it all work as expected! Op woensdag 7 juli 2021 om 23:28:23 UTC+2 schreef Alexander Broekhuis: > Hi all, > > I'm working on a project were we create metrics based on the OpenMetrics > spec. This also includes stateset and the info metric. > Afaik, prometheus does not yet support those metrics. Is there any > timeframe on when the full OpenMetrics spec will be supported? > > Also, is it the expected behaviour if the scraper encounters an unknown > metric, it will stop processing at that point? > > TiA! > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/89f9dacc-abdd-4a1a-aad8-7ce306d65222n%40googlegroups.com.

