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 upDiscovery for scrape intervals, scheme & paths #910
Comments
This comment has been minimized.
This comment has been minimized.
|
The best person to discuss this issue is probably @fabxc , but he is on vacation. |
This comment has been minimized.
This comment has been minimized.
|
@beorn7 Thanks - will wait for his return. |
This comment has been minimized.
This comment has been minimized.
|
BTW: sending a SIGHUP reloads the config. If you have some mechanism to rewrite the config, you don't need a restart, just a signal. Might be sufficient for a work-around... |
This comment has been minimized.
This comment has been minimized.
|
@beorn7 Ah good tip thanks. |
This comment has been minimized.
This comment has been minimized.
|
Sorry for the delay. The path is already available via Now, scrape interval is another beast. It certainly is possible, as many things. But I'm wondering whether scrape intervals are something that should come form service discovery and in which direction this puts us. If people can configure the scrape interval through their SD, naturally requests for the scrape timeout, auth credentials etc. would follow. There is no one true answer but unless there is a strong need I'd rather slow down the "everything-relabelable" movement. |
This comment has been minimized.
This comment has been minimized.
|
No worries - hope you had a good break. So where would I relabel Agreed adding As for scrape intervals, totally understand your reasoning to resist everything-relabelable. Scheme would definitely be enough for us (for now ;)). |
This was referenced Aug 6, 2015
This comment has been minimized.
This comment has been minimized.
|
Closing as |
jimmidyson
closed this
Aug 6, 2015
brian-brazil
referenced this issue
Oct 28, 2015
Closed
Expose more scrape_config parameters via relabeling #1176
This comment has been minimized.
This comment has been minimized.
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. |
jimmidyson commentedJul 21, 2015
While adding in Kubernetes discovery in a separate PR, I would like to be able to discover scrape intervals & paths from metadata in Kubernetes & update targets appropriately.
The job config contains details of the intervals/scheme/path & this is configured statically in the Prometheus config file, a restart is required to pick up changes. The only dynamic changes allowed are in target groups, which I can update labels & addresses per target but nothing more.