jakubplichta / grafana-dashboard-builder

Generate Grafana dashboards with YAML
Apache License 2.0
147 stars 42 forks source link

AttributeError when using certain characters in query #193

Open mcleodj opened 3 years ago

mcleodj commented 3 years ago

When using a query like: 'sum (container_memory_working_set_bytes{{{pod=~"$Environment-$Deployment.*"}}}) / sum (kube_node_status_allocatable{resource="memory"}) * 100'

I get an error AttributeError: 'str' object has no attribute '*"'

Seems not to like the '*' in the query.