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 reports incorrect line numbers #2857
Comments
This comment has been minimized.
This comment has been minimized.
|
Sounds like a dupe of #2014 |
brian-brazil
closed this
Jun 16, 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. |
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.
wwalker commentedJun 16, 2017
What did you do?
ran promtool against a file with avg(...[5m]). The time range is invalid for avg().
What did you expect to see?
What did you see instead? Under which circumstances?
NOTE: The file is 174 lines long
Environment
Ubuntu 16.04
System information:
Linux 3.13.0-95-generic x86_64
Promtool version:
wwalker@test-prom-01:~$ promtool version
promtool, version 1.3.0 (branch: master, revision: 18254a1)
build user: root@d363f050a0e0
build date: 20161101-17:06:27
go version: go1.7.3
Alertmanager configuration file:
a smaller example with the same failure. The erro is on line 3 at char 95