-
Notifications
You must be signed in to change notification settings - Fork 0
/
grafana-mysql.yaml
42 lines (37 loc) · 1.2 KB
/
grafana-mysql.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Default values for kubedb-grafana-dashboards.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Overrides name template
nameOverride: ""
# Overrides fullname template
fullnameOverride: ""
# List of resources for which dashboards will be applied
resources: # +doc-gen:break
- mysql
dashboard:
# ID of Grafana folder where these dashboards will be applied
folderID: 0
# If true, dashboard with matching uid will be overwritten
overwrite: true
templatize:
# If true, datasource will be prefixed to dashboard name
title: false
# If true, datasource will be hardcoded in the dashboard
datasource: false
alerts: false
replacements:
job=\"kube-state-metrics\": job=\"kubernetes-service-endpoints\"
job=\"kubelet\": job=\"kubernetes-nodes-cadvisor\"
job=\"$app-stats\": job=\"kubedb-databases\"
grafana:
# Name of Grafana Appbinding where these dashboards are applied
name: ""
# Namespace of Grafana Appbinding where these dashboards are applied
namespace: ""
version: 7.5.5
# builtin
url: "http://grafana.monitoring.svc:80"
apikey: "<your-api-key>"
app:
name: <your-mysql-database-name>
namespace: <your-mysql-database-namespace>