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

chore(compose): use fixed version of prometheus #1847

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

vprashar2929
Copy link
Collaborator

This commit fixes the issue where prometheus using latest is unable to scrape scaphandre metrics due to issue in scaphandre of having an invalid Content-Type header in Scaphandre's response.

This commit fixes the issue where prometheus using `latest` is unable to
scrape scaphandre metrics due to issue in scaphandre of having an invalid
`Content-Type` header in Scaphandre's response.

Signed-off-by: Vibhu Prashar <[email protected]>
Copy link
Contributor

github-actions bot commented Nov 15, 2024

🤖 SeineSailor

Here is a concise summary of the pull request changes:

Summary: This PR updates the Prometheus version in the Docker image from latest to v2.55.0, resolving an issue with scraping Scaphandre metrics due to an invalid Content-Type header.

Key Modifications:

  • Fixed Prometheus version in Docker image to v2.55.0
  • Resolves issue with scraping Scaphandre metrics

Impact: This change ensures a more predictable and consistent environment for scraping Scaphandre metrics, but does not affect the external interface or behavior of the code.

Observations/Suggestions: None, as this is a straightforward version update with no observable impact on the codebase's external interface or behavior.

@vprashar2929
Copy link
Collaborator Author

Ref:
Screenshot 2024-11-15 at 11 14 08 PM

@vprashar2929 vprashar2929 requested a review from sthaha November 15, 2024 17:45
@@ -1,3 +1,3 @@
FROM quay.io/prometheus/prometheus:latest
FROM quay.io/prometheus/prometheus:v2.55.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add a comment for pinning the version down?

@sthaha sthaha merged commit f434c66 into sustainable-computing-io:main Nov 15, 2024
21 checks 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.

2 participants