Skip to content

Commit

Permalink
Dash update (#43)
Browse files Browse the repository at this point in the history
* make images expandble on click

* ref loki datasource as 'loki' instead of random uid

* make values use repo managed dashboard definition
  • Loading branch information
asaiacai authored Jul 16, 2024
1 parent 3cbb242 commit c0a7302
Showing 1 changed file with 35 additions and 5 deletions.
40 changes: 35 additions & 5 deletions manifests/kube-prometheus-stack.values
Original file line number Diff line number Diff line change
Expand Up @@ -990,10 +990,34 @@ grafana:
##
defaultDashboardsEditable: true

adminPassword: prom-operator
## Point to dashboard in the repo
##
dashboards:
default:
konduktor-dashboard:
url: https://raw.githubusercontent.com/Trainy-ai/konduktor/main/grafana/default_grafana_dashboard.json
datasource:
- name: DS_PROMETHEUS
value: Prometheus
- name: DS_LOKI
value: loki

dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/default

plugins:
- yesoreyeram-infinity-datasource

adminPassword: prom-operator


rbac:
## If true, Grafana PSPs will be created
Expand Down Expand Up @@ -1056,9 +1080,10 @@ grafana:

sidecar:
dashboards:
enabled: true
enabled: false
label: grafana_dashboard
labelValue: "1"

# Allow discovery in all namespaces for dashboards
searchNamespace: ALL

Expand Down Expand Up @@ -1130,7 +1155,12 @@ grafana:

## Configure additional grafana datasources (passed through tpl)
## ref: http://docs.grafana.org/administration/provisioning/#datasources
additionalDataSources: []
additionalDataSources:
- name: loki
type: loki
uid: loki
url: http://loki.loki.svc.cluster.local:3100

# - name: prometheus-sample
# access: proxy
# basicAuth: true
Expand Down

0 comments on commit c0a7302

Please sign in to comment.