-
Notifications
You must be signed in to change notification settings - Fork 216
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
base: main
Are you sure you want to change the base?
Conversation
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]>
Signed-off-by: JadKHaddad <[email protected]>
Signed-off-by: Flynn <[email protected]>
There was a problem hiding this 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? :-)
components can be configured to an external Prometheus URL. This is allowed | ||
both through Helm and the CLI. Additionally, if the external Prometheus is | ||
secured with basic auth, you can retrieve those credentials from a Secret or | ||
include them credentials in the URL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include them credentials in the URL. | |
include the credentials in the URL. |
If you wish to disable it, be sure to include the | ||
following configuration as well: | ||
Finally, when using an external Prometheus and configuring the `prometheusUrl` | ||
field, Linkerd's Prometheus will still be included in installation unless you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
field, Linkerd's Prometheus will still be included in installation unless you | |
field, Linkerd's Prometheus will still be included in the installation unless you |
Originally by @JadKHaddad in #1659, thanks!