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 upAdd minute() function #1983
Comments
brian-brazil
added
the
kind/enhancement
label
Sep 12, 2016
This comment has been minimized.
This comment has been minimized.
|
@mattbostock Makes sense. Do you want to give this a try? It should be pretty straightforward. Here is the commit which introduced hour()/month()/etc. 4680daf |
grobie
changed the title
Add minutes() function
Add minute() function
Sep 12, 2016
This comment has been minimized.
This comment has been minimized.
|
Sure, will do. |
mattbostock
added a commit
to mattbostock/prometheus
that referenced
this issue
Sep 12, 2016
grobie
closed this
in
#1984
Sep 12, 2016
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. |
lock
bot
locked and limited conversation to collaborators
Mar 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
mattbostock commentedSep 12, 2016
•
edited
What did you do?
Tried to add an alert that triggers at a specified time, e.g.:
The idea is to trigger an alert at the start of each on-call shift to test the escalation path, i.e. are the on-call people's phones working, do we have the correct phone numbers, is the rota configured correctly.
What did you expect to see?
The current UTC minutes returned.
What did you see instead? Under which circumstances?
Environment
Prometheus version:
matt➜github.com/prometheus/prometheus(master✗)» ./prometheus -version
prometheus, version 1.1.2 (branch: master, revision: 3fd992d)
build user: matt@matt
build date: 20160912-17:09:55
go version: go1.7
matt➜github.com/prometheus/prometheus(master✗)»