Merge pull request #9 from grafana/add_tempo_dashboards.yaml
Add tempo dashboards plus fixes
This commit is contained in:
commit
ac3e4462f9
7010
charts/meta-monitoring/src/dashboards/tempo-operational.json
Normal file
7010
charts/meta-monitoring/src/dashboards/tempo-operational.json
Normal file
File diff suppressed because it is too large
Load Diff
1612
charts/meta-monitoring/src/dashboards/tempo-reads.json
Normal file
1612
charts/meta-monitoring/src/dashboards/tempo-reads.json
Normal file
File diff suppressed because it is too large
Load Diff
2431
charts/meta-monitoring/src/dashboards/tempo-resources.json
Normal file
2431
charts/meta-monitoring/src/dashboards/tempo-resources.json
Normal file
File diff suppressed because it is too large
Load Diff
1559
charts/meta-monitoring/src/dashboards/tempo-rollout-progress.json
Normal file
1559
charts/meta-monitoring/src/dashboards/tempo-rollout-progress.json
Normal file
File diff suppressed because it is too large
Load Diff
1181
charts/meta-monitoring/src/dashboards/tempo-tenants.json
Normal file
1181
charts/meta-monitoring/src/dashboards/tempo-tenants.json
Normal file
File diff suppressed because it is too large
Load Diff
1738
charts/meta-monitoring/src/dashboards/tempo-writes.json
Normal file
1738
charts/meta-monitoring/src/dashboards/tempo-writes.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,16 +1,16 @@
|
|||||||
{{- if or (or .Values.local.logs.enabled .Values.local.metrics.enabled) .Values.local.traces.enabled }}
|
{{- if or (or .Values.dashboards.logs.enabled .Values.dashboards.metrics.enabled) .Values.dashboards.traces.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: loki-dashboards-provisioning
|
name: dashboards-provisioning
|
||||||
namespace: {{ $.Release.Namespace }}
|
namespace: {{ $.Release.Namespace }}
|
||||||
data:
|
data:
|
||||||
dashboards.yaml: |
|
dashboards.yaml: |
|
||||||
---
|
---
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
providers:
|
providers:
|
||||||
{{- if .Values.local.logs.enabled }}
|
{{- if .Values.dashboards.logs.enabled }}
|
||||||
- disableDeletion: true
|
- disableDeletion: true
|
||||||
editable: false
|
editable: false
|
||||||
folder: Loki
|
folder: Loki
|
||||||
@ -28,7 +28,7 @@ data:
|
|||||||
orgId: 1
|
orgId: 1
|
||||||
type: file
|
type: file
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.local.metrics.enabled }}
|
{{- if .Values.dashboards.metrics.enabled }}
|
||||||
- disableDeletion: true
|
- disableDeletion: true
|
||||||
editable: false
|
editable: false
|
||||||
folder: Mimir
|
folder: Mimir
|
||||||
@ -70,4 +70,14 @@ data:
|
|||||||
orgId: 1
|
orgId: 1
|
||||||
type: file
|
type: file
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.dashboards.traces.enabled }}
|
||||||
|
- disableDeletion: true
|
||||||
|
editable: false
|
||||||
|
folder: Tempo
|
||||||
|
name: tempo-1
|
||||||
|
options:
|
||||||
|
path: /var/lib/grafana/dashboards/tempo-1
|
||||||
|
orgId: 1
|
||||||
|
type: file
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
@ -65,15 +65,17 @@ spec:
|
|||||||
name: grafana-pv
|
name: grafana-pv
|
||||||
- mountPath: /etc/grafana/provisioning/datasources
|
- mountPath: /etc/grafana/provisioning/datasources
|
||||||
name: datasources-provisioning
|
name: datasources-provisioning
|
||||||
|
{{- if or (or .Values.dashboards.logs.enabled .Values.dashboards.metrics.enabled) .Values.dashboards.traces.enabled }}
|
||||||
- mountPath: /etc/grafana/provisioning/dashboards
|
- mountPath: /etc/grafana/provisioning/dashboards
|
||||||
name: loki-dashboards-provisioning
|
name: dashboards-provisioning
|
||||||
{{- if .Values.local.logs.enabled }}
|
{{- end }}
|
||||||
|
{{- if .Values.dashboards.logs.enabled }}
|
||||||
- mountPath: /var/lib/grafana/dashboards/loki-1
|
- mountPath: /var/lib/grafana/dashboards/loki-1
|
||||||
name: loki-dashboards-1
|
name: loki-dashboards-1
|
||||||
- mountPath: /var/lib/grafana/dashboards/loki-2
|
- mountPath: /var/lib/grafana/dashboards/loki-2
|
||||||
name: loki-dashboards-2
|
name: loki-dashboards-2
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.local.metrics.enabled }}
|
{{- if .Values.dashboards.metrics.enabled }}
|
||||||
- mountPath: /var/lib/grafana/dashboards/mimir-1
|
- mountPath: /var/lib/grafana/dashboards/mimir-1
|
||||||
name: mimir-dashboards-1
|
name: mimir-dashboards-1
|
||||||
- mountPath: /var/lib/grafana/dashboards/mimir-2
|
- mountPath: /var/lib/grafana/dashboards/mimir-2
|
||||||
@ -85,6 +87,10 @@ spec:
|
|||||||
- mountPath: /var/lib/grafana/dashboards/mimir-5
|
- mountPath: /var/lib/grafana/dashboards/mimir-5
|
||||||
name: mimir-dashboards-5
|
name: mimir-dashboards-5
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.dashboards.traces.enabled }}
|
||||||
|
- mountPath: /var/lib/grafana/dashboards/tempo-1
|
||||||
|
name: tempo-dashboards-1
|
||||||
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: grafana-pv
|
- name: grafana-pv
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
@ -92,10 +98,10 @@ spec:
|
|||||||
- name: datasources-provisioning
|
- name: datasources-provisioning
|
||||||
configMap:
|
configMap:
|
||||||
name: datasources-provisioning
|
name: datasources-provisioning
|
||||||
{{- if .Values.local.logs.enabled }}
|
- name: dashboards-provisioning
|
||||||
- name: loki-dashboards-provisioning
|
|
||||||
configMap:
|
configMap:
|
||||||
name: loki-dashboards-provisioning
|
name: dashboards-provisioning
|
||||||
|
{{- if .Values.dashboards.logs.enabled }}
|
||||||
- name: loki-dashboards-1
|
- name: loki-dashboards-1
|
||||||
configMap:
|
configMap:
|
||||||
name: loki-dashboards-1
|
name: loki-dashboards-1
|
||||||
@ -103,10 +109,7 @@ spec:
|
|||||||
configMap:
|
configMap:
|
||||||
name: loki-dashboards-2
|
name: loki-dashboards-2
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.local.metrics.enabled }}
|
{{- if .Values.dashboards.metrics.enabled }}
|
||||||
- name: mimir-dashboards-provisioning
|
|
||||||
configMap:
|
|
||||||
name: mimir-dashboards-provisioning
|
|
||||||
- name: mimir-dashboards-1
|
- name: mimir-dashboards-1
|
||||||
configMap:
|
configMap:
|
||||||
name: mimir-dashboards-1
|
name: mimir-dashboards-1
|
||||||
@ -123,6 +126,11 @@ spec:
|
|||||||
configMap:
|
configMap:
|
||||||
name: mimir-dashboards-5
|
name: mimir-dashboards-5
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.dashboards.traces.enabled }}
|
||||||
|
- name: tempo-dashboards-1
|
||||||
|
configMap:
|
||||||
|
name: tempo-dashboards-1
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{- if .Values.local.logs.enabled }}
|
{{- if .Values.dashboards.logs.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
@ -1,4 +1,4 @@
|
|||||||
{{- if .Values.local.logs.enabled }}
|
{{- if .Values.dashboards.logs.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
@ -1,4 +1,4 @@
|
|||||||
{{- if .Values.local.metrics.enabled }}
|
{{- if .Values.dashboards.metrics.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
@ -1,4 +1,4 @@
|
|||||||
{{- if .Values.local.metrics.enabled }}
|
{{- if .Values.dashboards.metrics.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
@ -1,4 +1,4 @@
|
|||||||
{{- if .Values.local.metrics.enabled }}
|
{{- if .Values.dashboards.metrics.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
@ -1,4 +1,4 @@
|
|||||||
{{- if .Values.local.metrics.enabled }}
|
{{- if .Values.dashboards.metrics.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
@ -1,4 +1,4 @@
|
|||||||
{{- if .Values.local.metrics.enabled }}
|
{{- if .Values.dashboards.metrics.enabled }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
@ -0,0 +1,21 @@
|
|||||||
|
{{- if .Values.dashboards.traces.enabled }}
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: tempo-dashboards-1
|
||||||
|
namespace: {{ $.Release.Namespace }}
|
||||||
|
data:
|
||||||
|
"tempo-operational.json": |
|
||||||
|
{{ $.Files.Get "src/dashboards/tempo-operational.json" | fromJson | toJson }}
|
||||||
|
"tempo-reads.json": |
|
||||||
|
{{ $.Files.Get "src/dashboards/tempo-reads.json" | fromJson | toJson }}
|
||||||
|
"tempo-resources.json": |
|
||||||
|
{{ $.Files.Get "src/dashboards/tempo-resources.json" | fromJson | toJson }}
|
||||||
|
"tempo-rollout-progress.json": |
|
||||||
|
{{ $.Files.Get "src/dashboards/tempo-rollout-progress.json" | fromJson | toJson }}
|
||||||
|
"tempo-tenants.json": |
|
||||||
|
{{ $.Files.Get "src/dashboards/tempo-tenants.json" | fromJson | toJson }}
|
||||||
|
"tempo-writes.json": |
|
||||||
|
{{ $.Files.Get "src/dashboards/tempo-writes.json" | fromJson | toJson }}
|
||||||
|
{{- end }}
|
@ -14,7 +14,6 @@ local:
|
|||||||
minio:
|
minio:
|
||||||
enabled: false # This should be set to true if any of the previous is enabled
|
enabled: false # This should be set to true if any of the previous is enabled
|
||||||
|
|
||||||
|
|
||||||
cloud:
|
cloud:
|
||||||
logs:
|
logs:
|
||||||
enabled: true
|
enabled: true
|
||||||
@ -41,6 +40,15 @@ logs:
|
|||||||
# source: "" # Empty uses the log message
|
# source: "" # Empty uses the log message
|
||||||
# replace: "*****""
|
# replace: "*****""
|
||||||
|
|
||||||
|
# Set enabled = true to add the default logs/metrics/traces dashboards to the local Grafana
|
||||||
|
dashboards:
|
||||||
|
logs:
|
||||||
|
enabled: true
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
traces:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
global:
|
global:
|
||||||
minio:
|
minio:
|
||||||
rootUser: "rootuser"
|
rootUser: "rootuser"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user