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 uppromtool says config is valid when it isn't #1458
Comments
This comment has been minimized.
This comment has been minimized.
|
Are they both from the same Prometheus version? Relabel configs don't need an explicitly specified |
This comment has been minimized.
This comment has been minimized.
|
(meaning, there is now a default regex of |
This comment has been minimized.
This comment has been minimized.
|
Oops, nope. My prometheus is v0.16.2 and I just got promtool with "go get" so it's probably newer. I can't tell what version my promtool is:
|
davidmankin
closed this
Mar 3, 2016
This comment has been minimized.
This comment has been minimized.
|
Yeah, the version information is only filled in when building Prometheus or promtool via |
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. |
davidmankin commentedMar 3, 2016
promtooltold me that this (snippet of) config was valid but Prometheus crashed trying to read it.Promtool says SUCCESS
Prometheus crashes:
Further it would be useful if the error message explained specifically that it was a 'regex' field that was missing on line 92.