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,34 +729,46 @@ grafana: &grafana_config
|
||||
curlOptions: "-sLf"
|
||||
datasource: clickhouse
|
||||
|
||||
# default:
|
||||
# some-dashboard:
|
||||
# json: |
|
||||
# $RAW_JSON
|
||||
# custom-dashboard:
|
||||
# file: dashboards/custom-dashboard.json
|
||||
# prometheus-stats:
|
||||
# gnetId: 2
|
||||
# revision: 2
|
||||
# datasource: Prometheus
|
||||
# local-dashboard:
|
||||
# url: https://example.com/repository/test.json
|
||||
# curlOptions: "-sLf"
|
||||
# token: ''
|
||||
# local-dashboard-base64:
|
||||
# url: https://example.com/repository/test-b64.json
|
||||
# token: ''
|
||||
# b64content: true
|
||||
# local-dashboard-gitlab:
|
||||
# url: https://example.com/repository/test-gitlab.json
|
||||
# gitlabToken: ''
|
||||
# local-dashboard-bitbucket:
|
||||
# url: https://example.com/repository/test-bitbucket.json
|
||||
# bearerToken: ''
|
||||
# local-dashboard-azure:
|
||||
# url: https://example.com/repository/test-azure.json
|
||||
# basic: ''
|
||||
# acceptHeader: '*/*'
|
||||
default:
|
||||
# some-dashboard:
|
||||
# json: |
|
||||
# $RAW_JSON
|
||||
# custom-dashboard:
|
||||
# file: dashboards/custom-dashboard.json
|
||||
prometheus-stats:
|
||||
gnetId: 2
|
||||
revision: 2
|
||||
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:
|
||||
# url: https://example.com/repository/test.json
|
||||
# curlOptions: "-sLf"
|
||||
# token: ''
|
||||
# local-dashboard-base64:
|
||||
# url: https://example.com/repository/test-b64.json
|
||||
# token: ''
|
||||
# b64content: true
|
||||
# local-dashboard-gitlab:
|
||||
# url: https://example.com/repository/test-gitlab.json
|
||||
# gitlabToken: ''
|
||||
# local-dashboard-bitbucket:
|
||||
# url: https://example.com/repository/test-bitbucket.json
|
||||
# bearerToken: ''
|
||||
# local-dashboard-azure:
|
||||
# url: https://example.com/repository/test-azure.json
|
||||
# basic: ''
|
||||
# acceptHeader: '*/*'
|
||||
|
||||
## Reference to external ConfigMap per provider. Use provider name as key and ConfigMap name as value.
|
||||
## A provider dashboards must be defined either by external ConfigMaps or in values.yaml, not in both.
|
||||
|
||||
Reference in New Issue
Block a user