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 basic-auth fixes #1918

Merged
merged 8 commits into from
Feb 26, 2025
Merged

Prometheus basic-auth fixes #1918

merged 8 commits into from
Feb 26, 2025

Conversation

kflynn
Copy link
Member

@kflynn kflynn commented Jan 31, 2025

Originally by @JadKHaddad in #1659, thanks!

  • Subject: Communication Issue Between Viz and External Prometheus
  • Example without basic auth added. Same changes in 2.14 done
  • Update for 2.14+, and talk about basic-auth Secrets for 2.17 & 2-edge.

@kflynn kflynn requested review from alpeb and adleong January 31, 2025 23:03
Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

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

Thanks @kflynn !

The manifest lines pointed at in the note under "Prometheus Scrape Configuration" have drifted in the repo. Can you update that? :-)

@kflynn kflynn requested a review from alpeb February 25, 2025 00:56
JadKHaddad and others added 8 commits February 26, 2025 15:17
Problem: In the documentation explaining the usage of an external Prometheus, the protocol is missing in provided example. This is causing Viz to be unable to establish communication with the external Prometheus, resulting in a "unsupported protocol" error message in the logs.

Solution: added protocol and basic auth to prometheus url

Fixes #1658

Signed-off-by: JadKHaddad <[email protected]>
Co-authored-by: Alejandro Pedraza <[email protected]>

Signed-off-by: Flynn <[email protected]>
Co-authored-by: Alejandro Pedraza <[email protected]>

Signed-off-by: Flynn <[email protected]>
Signed-off-by: Flynn <[email protected]>
@kflynn kflynn merged commit 53445ed into main Feb 26, 2025
7 checks passed
@kflynn kflynn deleted the jadkhaddad-1659 branch February 26, 2025 21:46
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