Skip to content

Conversation

@bogdan-rosianu
Copy link
Contributor

Type

  • Bug
  • Feature
  • Refactoring
  • Performance improvement

Problem setting

  • latest prometheus versions require strict content type of the metrics endpoint, displaying this error
received unsupported Content-Type \"text/html; charset=utf-8\" and no fallback_scrape_protocol specified for target

Proposed Changes

  • set the endpoint content type from the prom-client library

How to test

  • without this fix, the prometheus instance started with the project does not work properly, but it should work with this fix

@bogdan-rosianu bogdan-rosianu merged commit 16baa90 into main Dec 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants