Open toni-moreno opened 4 years ago
Hi @vsergeyev I'm trying to automate with ansible with the before proposed format and is not working because of model name restrictions as in https://github.com/regel/loudml/issues/62
It seems that model name should match this regex ^[a-zA-Z0-9-_@]+$
the only non usual character perhaps could be '@'
Hi @toni-moreno
Agree this should be a way to specify model name in panel itself. This may give a possibility to specify variables in model name field, so it will be converted to required when "Create baseline" button is clicked.
V.
I've trying to design a common dashboard for all possible models where to see evolution for real/predicted data.
Something like that.
In order to build the queries by only selecting the model name could be interesting if could build variables like in the picture, from the incoming model name.
right now the name is something like "$db$measurement$oper$field$tagkey_$tagvaluetime$groupby", when trying to build variables in grafana with regexp is difficult because the "_" character is commonly used in db names , field names , tag names.
Would be nice if we can select the concatenation character , if the model name was any of these:
swarm|cpu|mean|usage_active|host|worker1|time|5m
swarm:cpu:mean:usage_active:host:worker1:time:5m
swarm cpu mean usage_active host worker1 time 5m
instead of
swarm_cpu_mean_usage_active_host_worker1_time_5m
build the regex would be easier than before , and could cover most of the normal cases.
If done I will be able to share these generic dashboards
Thank you very much for your work @vsergeyev