UNCLASSIFIED - NO CUI

Skip to content

Resolve "Bug: Grafana dashboards may not be compatible with Thanos"

General MR

Summary

When Thanos is enabled, dashboards where a datasource is defined as "datasource": "Prometheus" are unable to read from the Thanos datasource and display errors. This can be resolved by updating the datasource to prometheus.

Relevant logs/screenshots

Original Error: red triangles with “default prometheus datasource not found” image

override file:

flux:
  interval: 1m
  rollback:
    cleanupOnFail: false

networkPolicies:
  enabled: true

clusterAuditor:
  enabled: false

gatekeeper:
  enabled: false

grafana:
  enabled: true

# temporary
neuvector:
  enabled: false

istioOperator:
  enabled: true

istio:
  enabled: true

monitoring:
  enabled: true

  values:
    prometheus:
      prometheusSpec:
        replicas: 3

loki:
  enabled: true
  
promtail:
  enabled: true

jaeger:
  enabled: false

kiali:
  enabled: false

elasticsearchKibana:
  enabled: false

eckOperator:
  enabled: false

fluentbit:
  enabled: false

twistlock:
  enabled: true 
  sourceType: "git"
  git:
    tag: null
    branch: "110-bug-grafana-dashboards-may-not-be-compatible-with-thanos"
  values:
    console:
      persistence:
        size: 5Gi

addons:
  thanos:
    enabled: true

  minioOperator:
    enabled: true

Twistlock Dashboards

Screenshot_2024-04-22_at_3.37.12_PM Screenshot_2024-04-22_at_3.36.58_PM

Linked Issue

issue

Upgrade Notices

N/A

Closes #110 (closed)

Edited by Manuel Ucles

Merge request reports