prometheus/template
David Leadbeater 89ebb3dcf2 Add parseDuration to template functions
This can be useful when generating rules, a query may use a duration,
and it may be useful to template that into a URL parameter. Therefore
this allows interfacing with systems that don't implement Prometheus
style duration parsing.

Signed-off-by: David Leadbeater <dgl@dgl.cx>
2021-11-10 18:35:30 +01:00
..
template.go Add parseDuration to template functions 2021-11-10 18:35:30 +01:00
template_test.go Add parseDuration to template functions 2021-11-10 18:35:30 +01:00