hastic-zzz / hastic-grafana-app

Hastic data management server for labeling patterns and anomalies in Grafana
https://hastic.io
GNU General Public License v3.0
179 stars 18 forks source link

Detection not Updating when using Grafana Template Variables #380

Open lephisto opened 5 years ago

lephisto commented 5 years ago

When using Template Variables to select for different Series the Detection does not reflect that.

It seems that the Detection Engine doesn't resolve the Template variable to it's result. Normal?

jonyrock commented 5 years ago

@lephisto need more time to reserarcj, but Template Variables is very tricky thing and we haven't tested it much

lephisto commented 5 years ago

Maybe it's easier then thought:

When generating the ID for the analytics unit, suffix them with template variables, or at least make the analytics unit id unique for each combination of set template variables.