You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When {ITEM.VALUE} macros is used in a trigger name and annotations of this trigger occurs multiple times on a single graph, the macros is resolved like {ITEM.LASTVALUE} on every occurrence.
As you can see on the screenshot below, annotation text is always too large: 5 for a trigger with condition item.last() > 1 and title too large: {ITEM.VALUE}.
Expected behavior
When possible, the historical (at-the-time-of-event) value should be seen in annotation text.
The screenshot below is a spoiler of how it works after my fix.
Software versions
Grafana
Zabbix
Grafana-Zabbix Plugin
6.6.1
4.0.17
3.10.5
P.S. May be a duplicate of #396, but the latter was never resolved.
The text was updated successfully, but these errors were encountered:
Akint
added a commit
to Akint/grafana-zabbix
that referenced
this issue
Feb 13, 2020
Describe the bug
When {ITEM.VALUE} macros is used in a trigger name and annotations of this trigger occurs multiple times on a single graph, the macros is resolved like
{ITEM.LASTVALUE}
on every occurrence.As you can see on the screenshot below, annotation text is always
too large: 5
for a trigger with conditionitem.last() > 1
and titletoo large: {ITEM.VALUE}
.Expected behavior
When possible, the historical (at-the-time-of-event) value should be seen in annotation text.
The screenshot below is a spoiler of how it works after my fix.
Software versions
P.S. May be a duplicate of #396, but the latter was never resolved.
The text was updated successfully, but these errors were encountered: