configure grafana with prometheus
This commit is contained in:
@@ -553,11 +553,11 @@ grafana: &grafana_config
|
|||||||
username: arcodange
|
username: arcodange
|
||||||
secureJsonData:
|
secureJsonData:
|
||||||
password: clickhousearcodange
|
password: clickhousearcodange
|
||||||
# - name: Prometheus
|
- name: Prometheus
|
||||||
# type: prometheus
|
type: prometheus
|
||||||
# url: http://prometheus-prometheus-server
|
url: http://prometheus-server.tools.svc.cluster.local
|
||||||
# access: proxy
|
access: proxy
|
||||||
# isDefault: true
|
isDefault: true
|
||||||
# - name: CloudWatch
|
# - name: CloudWatch
|
||||||
# type: cloudwatch
|
# type: cloudwatch
|
||||||
# access: proxy
|
# access: proxy
|
||||||
@@ -729,16 +729,28 @@ grafana: &grafana_config
|
|||||||
curlOptions: "-sLf"
|
curlOptions: "-sLf"
|
||||||
datasource: clickhouse
|
datasource: clickhouse
|
||||||
|
|
||||||
# default:
|
default:
|
||||||
# some-dashboard:
|
# some-dashboard:
|
||||||
# json: |
|
# json: |
|
||||||
# $RAW_JSON
|
# $RAW_JSON
|
||||||
# custom-dashboard:
|
# custom-dashboard:
|
||||||
# file: dashboards/custom-dashboard.json
|
# file: dashboards/custom-dashboard.json
|
||||||
# prometheus-stats:
|
prometheus-stats:
|
||||||
# gnetId: 2
|
gnetId: 2
|
||||||
# revision: 2
|
revision: 2
|
||||||
# datasource: Prometheus
|
datasource: Prometheus
|
||||||
|
|
||||||
|
k8s-resources-cluster:
|
||||||
|
url: https://grafana.com/api/dashboards/1860/revisions/29/download
|
||||||
|
datasource: Prometheus
|
||||||
|
# Dashboard Kubernetes / Pods
|
||||||
|
k8s-pods:
|
||||||
|
url: https://grafana.com/api/dashboards/6417/revisions/10/download
|
||||||
|
datasource: Prometheus
|
||||||
|
# Dashboard Kubernetes / Nodes
|
||||||
|
k8s-nodes:
|
||||||
|
url: https://grafana.com/api/dashboards/1860/revisions/29/download
|
||||||
|
datasource: Prometheus
|
||||||
# local-dashboard:
|
# local-dashboard:
|
||||||
# url: https://example.com/repository/test.json
|
# url: https://example.com/repository/test.json
|
||||||
# curlOptions: "-sLf"
|
# curlOptions: "-sLf"
|
||||||
|
|||||||
Reference in New Issue
Block a user