Skip to content

Commit

Permalink
fix(grafana): prometheus datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
fhussonnois committed Oct 10, 2023
1 parent 648b142 commit 124ea88
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions grafana/provisioning/datasources/datasource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ deleteDatasources:
- name: Prometheus
orgId: 1

# list of datasources to insert/update depending
# list of datasources to insert/update depending on
# what's available in the database
datasources:
# <string, required> name of the datasource. Required
- name: Prometheus
# <string, required> datasource type. Required
type: prometheus
# <string, required> access mode. proxy or direct (Server or Browser in the UI). Required
access: direct
access: proxy
# <int> org id. will default to orgId 1 if not specified
orgId: 1
# <string> url
url: http://localhost:9090
url: http://prometheus:9090
# <string> database password, if used
password:
# <string> database user, if used
Expand All @@ -37,9 +37,13 @@ datasources:
isDefault: true
# <map> fields that will be converted to json and stored in json_data
jsonData:
graphiteVersion: "1.1"
tlsAuth: true
tlsAuthWithCACert: true
httpMethod: POST
manageAlerts: true
prometheusType: Prometheus
prometheusVersion: 2.47.0
cacheLevel: 'High'
tlsAuth: false
tlsAuthWithCACert: false
# <string> json object of data that will be encrypted.
secureJsonData:
tlsCACert: "..."
Expand Down

0 comments on commit 124ea88

Please sign in to comment.