K-Phoen / dark

(grafana) Dashboards As Resources in Kubernetes
MIT License
428 stars 21 forks source link

Stat not working for loki datasouce #236

Open emouawad opened 9 months ago

emouawad commented 9 months ago

Stat Not working for loki datasource / targets. Maybe i missed that part in the documentation, is there somewhere the supported features (grafana ui components) are located?

- stat:
    title: Total
    targets:
      - prometheus:
          query: metric-A{app="app"}

- stat:
    title: Total 2
    datasource: loki
    targets:
      - loki:
          query: metric-B{app="app"}