Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upUse Kubernetes annotations to configure kubernetes_sd #2989
Comments
This comment has been minimized.
This comment has been minimized.
|
Pod annotations are provided as meta labels on discovered pod targets. |
This comment has been minimized.
This comment has been minimized.
|
I mean, to get the prometheus endpoint, the path where it fetches metrics |
This comment has been minimized.
This comment has been minimized.
|
You need to know the path before you scrape |
This comment has been minimized.
This comment has been minimized.
|
Yes, you can relabel onto the `__metrics_path__` label to use the value
provided in the annotation. (
https://prometheus.io/docs/operating/configuration/#relabel_config)
…On Fri, Jul 28, 2017 at 2:03 PM Julien Pivotto ***@***.***> wrote:
You need to know the path before you scrape
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2989 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEuA8nNZpK92f5xy_E-jdx3dsvGFSAjQks5sSc4qgaJpZM4Oiawd>
.
|
This comment has been minimized.
This comment has been minimized.
|
This is already included in the example configuration so there is nothing to do here. |
matthiasr
closed this
Jul 29, 2017
abraithwaite
referenced this issue
Oct 2, 2017
Open
Add integration for service discovery & kv config stores (dynamic config) #272
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 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
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
roidelapluie commentedJul 25, 2017
I propose that we take advantages of kubernetes annotations to configure scraping per pod/service: