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: Handle root path #613

Merged
merged 1 commit into from
Sep 22, 2023
Merged

Conversation

mjtrangoni
Copy link
Contributor

Hi,

This is a trivial PR for handling the prometheus root path /.

Currently,

curl localhost:2112
404 page not found

With this PR,

curl localhost:2112
<html>
                        <head><title>kube-vip</title></head>
                        <body>
                        <h1>kube-vip Metrics</h1>
                        <p><a href="/metrics">Metrics</a></p>
                        </body>
                        </html>%

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
@thebsdbox thebsdbox merged commit bad9381 into kube-vip:main Sep 22, 2023
4 checks passed
@mjtrangoni mjtrangoni deleted the handle-prom-root branch September 22, 2023 22:03
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.

None yet

2 participants