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
|
||||||
@@ -695,6 +695,15 @@ grafana: &grafana_config
|
|||||||
disableDeletion: false
|
disableDeletion: false
|
||||||
options:
|
options:
|
||||||
path: /var/lib/grafana/dashboards/clickhouse
|
path: /var/lib/grafana/dashboards/clickhouse
|
||||||
|
- name: 'grafana-dashboards-kubernetes'
|
||||||
|
orgId: 1
|
||||||
|
folder: 'Kubernetes'
|
||||||
|
type: file
|
||||||
|
disableDeletion: true
|
||||||
|
editable: true
|
||||||
|
options:
|
||||||
|
path: /var/lib/grafana/dashboards/grafana-dashboards-kubernetes
|
||||||
|
|
||||||
# - name: 'default'
|
# - name: 'default'
|
||||||
# orgId: 1
|
# orgId: 1
|
||||||
# folder: ''
|
# folder: ''
|
||||||
@@ -729,6 +738,26 @@ grafana: &grafana_config
|
|||||||
curlOptions: "-sLf"
|
curlOptions: "-sLf"
|
||||||
datasource: clickhouse
|
datasource: clickhouse
|
||||||
|
|
||||||
|
grafana-dashboards-kubernetes:
|
||||||
|
k8s-system-api-server:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-system-api-server.json
|
||||||
|
token: ''
|
||||||
|
k8s-system-coredns:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-system-coredns.json
|
||||||
|
token: ''
|
||||||
|
k8s-views-global:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-global.json
|
||||||
|
token: ''
|
||||||
|
k8s-views-namespaces:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-namespaces.json
|
||||||
|
token: ''
|
||||||
|
k8s-views-nodes:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-nodes.json
|
||||||
|
token: ''
|
||||||
|
k8s-views-pods:
|
||||||
|
url: https://raw.githubusercontent.com/dotdc/grafana-dashboards-kubernetes/master/dashboards/k8s-views-pods.json
|
||||||
|
token: ''
|
||||||
|
|
||||||
# default:
|
# default:
|
||||||
# some-dashboard:
|
# some-dashboard:
|
||||||
# json: |
|
# json: |
|
||||||
|
|||||||
Reference in New Issue
Block a user