Skip to content

Commit

Permalink
Update Grafana to 5.0.2 (istio#4254)
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

Update Grafana to 5.0.2

Updating from beta 5.0 to released 5.0. Also update provisioning config to v1 spec.

See http://docs.grafana.org/administration/provisioning for docs on latest provisioning config spec. There should be no noticeable changes in Grafana.
  • Loading branch information
jeffmendoza authored and istio-merge-robot committed Mar 30, 2018
1 parent 1d5d231 commit 972488c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion addons/grafana/Dockerfile.grafana
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from grafana/grafana:5.0.0-beta2
from grafana/grafana:5.0.4

COPY grafana.ini /etc/grafana/
COPY dashboards.yaml /etc/grafana/provisioning/dashboards/
Expand Down
7 changes: 5 additions & 2 deletions addons/grafana/dashboards.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
apiVersion: 1

providers:
- name: 'default'
org_id: 1
orgId: 1
folder: ''
type: file
options:
folder: /var/lib/grafana/dashboards
path: /var/lib/grafana/dashboards
9 changes: 6 additions & 3 deletions addons/grafana/datasources.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# config file version
apiVersion: 1

# list of datasources to insert/update depending
# whats available in the datbase
datasources:
Expand All @@ -8,13 +11,13 @@ datasources:
# <string, required> access mode. direct or proxy. Required
access: proxy
# <int> org id. will default to org_id 1 if not specified
org_id: 1
orgId: 1
# <string> url
url: http://prometheus:9090
# <bool> mark as default datasource. Max one per org
is_default: true
isDefault: true
# <map> fields that will be converted to json and stored in json_data
json_data:
jsonData:
timeInterval: 5s
# <bool> allow users to edit datasources from the UI.
editable: true

0 comments on commit 972488c

Please sign in to comment.