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 upInvalid target labelnames? #3850
Comments
brian-brazil
added
kind/bug
component/service discovery
kind/more-info-needed
component/scraping
labels
Feb 15, 2018
brian-brazil
added this to the v2.2.0 milestone
Feb 15, 2018
This comment has been minimized.
This comment has been minimized.
|
DIBS should this be checked in the |
This comment has been minimized.
This comment has been minimized.
|
It's probably that the sanitization I added around service discovery was lost. |
This comment has been minimized.
This comment has been minimized.
|
that would mean I broke it |
This comment has been minimized.
This comment has been minimized.
maximilianvw
commented
Feb 19, 2018
•
|
Sorry guys I was offline for the weekend. I reported this bug via the mailing list. My scrape config was as follows:
Let me know if you need more details. |
This comment has been minimized.
This comment has been minimized.
|
So the issue here is around that last labelmap. |
This comment has been minimized.
This comment has been minimized.
|
thanks @maximilianvw I think I've spotted the place. Will send a PR. |
simonpasquier
referenced this issue
Feb 20, 2018
Merged
Prevent invalid label names with labelmap #3868
brian-brazil
closed this
in
#3868
Feb 21, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 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. |
brian-brazil commentedFeb 15, 2018
Per https://groups.google.com/forum/#!topic/prometheus-users/4JIBSa1zyDA it appears that a user on 2.0.0 has managed to have target labels containing hyphens in the label name. This indicates a lack of validation somewhere.