Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus 3.x support and small fixes #146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

albundy83
Copy link

@albundy83 albundy83 commented Jan 6, 2025

With the new prometheus 3.x release, if we don't add a header that contains at least Content-Type: text/plain; version=0.0.4 you have the following error:

Error scraping target: non-compliant scrape target sending blank Content-Type and no fallback_scrape_protocol specified for target

See prometheus issue here.

So I have added this header in entrypoint.sh file.

I have also cleaned a non used value that contains a typo repliaccount, now simply named replicas.
I have also removed default value for imagePullSecrets that output error in Kubernetes Event log due to non existing Secret (done already here for example).
Latest small update is about Service, Deployment and ServiceMonitor and their targetPort, port and name.
Now everything is identical.

Signed-off-by: Grégoire Bellon-Gervais <[email protected]>
@albundy83 albundy83 changed the title Prometheus 3 support and small fixes Prometheus 3.x support and small fixes Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant