Skip to content

davhdavh/grafana-mimir-cardinality-dashboards

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

grafana-mimir-cardinality-dashboards

Grafana Mimir dashboards used for cardinality exploration

Requirements

Setup via grafana and mimir helm:

grafana:
  datasources:
    datasources.yaml:
      apiVersion: 1
      datasources:
        - name: Cardinality
          uid: cardinality
          type: yesoreyeram-infinity-datasource
          isDefault: true
          url: http://mimir.monitoring.svc.cluster.local:8080/prometheus/api/v1/cardinality
          jsonData:
            allowedHosts:
            - http://mimir.monitoring.svc.cluster.local:8080
  dashboardProviders:
    dashboardproviders.yaml:
      apiVersion: 1
      providers:
      - name: 'grafana-mimir-cardinality-dashboards'
        orgId: 1
        folder: 'Cardinality'
        type: file
        disableDeletion: true
        editable: false
        options:
          path: /var/lib/grafana/dashboards/grafana-mimir-cardinality-dashboards
  dashboards:
    grafana-mimir-cardinality-dashboards:
      cardinality-management-1-overview:
        url: https://raw.githubusercontent.com/davhdavh/grafana-mimir-cardinality-dashboards/main/dashboards/cardinality-management-1-overview.json
        token: ''
      cardinality-management-2-metrics:
        url: https://raw.githubusercontent.com/davhdavh/grafana-mimir-cardinality-dashboards/main/dashboards/cardinality-management-2-metrics.json
        token: ''
      cardinality-management-3-labels:
        url: https://raw.githubusercontent.com/davhdavh/grafana-mimir-cardinality-dashboards/main/dashboards/cardinality-management-3-labels.json
        token: ''
  plugins:
  - yesoreyeram-infinity-datasource
  - marcusolsson-treemap-panel

mimir:
  mimir:
    structuredConfig:
      limits:
        cardinality_analysis_enabled: true

Usage

Dashboards are configured to set the X-Scope-OrgId from a "tenant" variable that needs to be configured in the dashboard so it can be selected dynamically.

About

Grafana Mimir dashboards used for cardinality exploration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published