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

Ability to scrape pods exposing https endpoints #2017

Closed
vjsamuel opened this Issue Sep 21, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@vjsamuel
Copy link

vjsamuel commented Sep 21, 2016

Hi,

Thank you for the amzing product that is prometheus. Is it possible for me to use prometheus to scrape pods running on kubernetes that expose HTTPS endpoints? I dont see a prometheus.io/scheme as part of the sample yaml file for Pods but I see it in the example for Services.

Thanks in advance.

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented Sep 21, 2016

The annotations are nothing fixed that's built into Kubernetes. It's merely
a way to provide a value in Kubernetes, that is then available in the
relabeling step.
If you check the Kubernetes example config, you can apply similar
relabeling rules to write 'https' into the Prometheus __scheme__ label
from a Kubernetes annotation.

On Thu, Sep 22, 2016 at 12:33 AM Vijay Samuel notifications@github.com
wrote:

Hi,

Thank you for the amzing product that is prometheus. Is it possible for me
to use prometheus to scrape pods running on kubernetes that expose HTTPS
endpoints? I dont see a prometheus.io/scheme as part of the sample yaml
file for Pods but I see it in the example for Services.

Thanks in advance.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2017, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuA8vrNLx0tUbrxY0LYJJFtwjWdbn8wks5qsbC6gaJpZM4KDWYZ
.

@vjsamuel

This comment has been minimized.

Copy link
Author

vjsamuel commented Sep 23, 2016

Thank you very much. It helped.

@vjsamuel vjsamuel closed this Sep 23, 2016

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.