configure grafana with prometheus
This commit is contained in:
@@ -553,11 +553,11 @@ grafana: &grafana_config
|
||||
username: arcodange
|
||||
secureJsonData:
|
||||
password: clickhousearcodange
|
||||
# - name: Prometheus
|
||||
# type: prometheus
|
||||
# url: http://prometheus-prometheus-server
|
||||
# access: proxy
|
||||
# isDefault: true
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
url: http://prometheus-server.tools.svc.cluster.local
|
||||
access: proxy
|
||||
isDefault: true
|
||||
# - name: CloudWatch
|
||||
# type: cloudwatch
|
||||
# access: proxy
|
||||
@@ -729,6 +729,26 @@ grafana: &grafana_config
|
||||
curlOptions: "-sLf"
|
||||
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:
|
||||
# some-dashboard:
|
||||
# json: |
|
||||
|
||||
Reference in New Issue
Block a user