Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global plug-in variables ("$__zbx") stop working when using more than one Function #1885

Open
isaqueprofeta opened this issue Sep 23, 2024 · 1 comment

Comments

@isaqueprofeta
Copy link

Describe the bug
On the Functions scope, global plug-in variables ("$__zbx") stop working when using more than one Function. If you add a aggregatedBy() or other functions, Grafana will output a string of "$__zbx" instead of the value.

Expected behavior
When using setAlias or replaceAlias with "$__zbx" I want to see the value of the Global variable.

Screenshots

Only using setAlias works:

Image

When adding another Aggregation function to the stack, it stops working:

Image

Network data

Software versions

Used https://play.grafana-zabbix.org/ for tests.

@isaqueprofeta
Copy link
Author

Pinging @yesoreyeram since the pipeline failed on github for the "OSS Big Tent team project"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant