0

I use latest quarkus-micrometer-registry-prometheus library 1.14.4 expose the default metrics. But our company service collect metrics by text/plain context. Collector send request without any header, so they don't put text/plain at request header. The Prometheus register return default application/openmetrics-text, which add # EOF line at end of stream, which cause collector not recognize to throw exception.

I checked the documents online but did not find how to change library default scrape() context to text/plain.

Any idea help. Thanks

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.