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 upNo error message when file_sd_configs include cannot be found #1553
Comments
grobie
added
the
enhancement
label
Apr 13, 2016
This comment has been minimized.
This comment has been minimized.
|
|
fabxc
added
kind/enhancement
and removed
enhancement
labels
Apr 28, 2016
brian-brazil
added
component/service discovery
component/promtool
low hanging fruit
priority/P3
help wanted
and removed
help wanted
labels
Jul 14, 2017
This comment has been minimized.
This comment has been minimized.
|
So promtool now errors out instead of warning if the file is not in place:
I think a warning is what was agreed upon. For anyone looking to tackle this: promtool: Instead of returning an error here, logging it as warning would be better: https://github.com/prometheus/prometheus/blob/master/cmd/promtool/main.go#L96 prometheus: Logging a warning when the number of files matched is |
This comment has been minimized.
This comment has been minimized.
|
if you haven't started this already, I'll give it a shot @gouthamve |
This comment has been minimized.
This comment has been minimized.
|
Fixed in #3062, will go out in 2.0. Should we mark this as fixed? |
This comment has been minimized.
This comment has been minimized.
|
Thanks @cstyan! |
gouthamve
closed this
Sep 28, 2017
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. |
kaihendry commentedApr 13, 2016
Tested on 322ad49:
No complaint of missing YML include.
Furthermore
promtooldoesn't detect anything is amiss either: