Reputation: 234
Saving a custom template with humanize function in it, fails with the following error: Error: failed to save and apply Alertmanager configuration: template: mytemplate:2: function "humanize" not defined
.
Template contents are:
{{ humanize (0.123456) }}
Grafana version: 9.5+
Upvotes: 1
Views: 211
Reputation: 28676
It doesn't look like a correct syntax. Try:
{{ humanize 0.123456 }}
Upvotes: -2