Skip to content

Commit

Permalink
kommander: Add kommander prom datasource to central Grafana and point…
Browse files Browse the repository at this point in the history
… Query dash to it (#279)
  • Loading branch information
gracedo authored and Hector Fernandez committed Nov 22, 2019
1 parent b7c3316 commit 86dd763
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion stable/kommander/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: kommander
home: https://github.com/mesosphere/kommander
appVersion: "1.150.12"
description: Kommander
version: 0.2.18
version: 0.2.19
maintainers:
- name: hectorj2f
- name: alejandroEsc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ data:
"gnetId": null,
"graphTooltip": 1,
"id": null,
"iteration": 1571948617065,
"iteration": 1574381793185,
"links": [],
"panels": [
{
Expand Down Expand Up @@ -943,8 +943,8 @@ data:
"list": [
{
"current": {
"text": "Prometheus",
"value": "Prometheus"
"text": "KommanderPrometheus",
"value": "KommanderPrometheus"
},
"hide": 0,
"includeAll": false,
Expand All @@ -954,7 +954,7 @@ data:
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"regex": "KommanderPrometheus",
"skipUrlSync": false,
"type": "datasource"
},
Expand Down
7 changes: 6 additions & 1 deletion stable/kommander/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,14 @@ grafana:
datasources:
- name: ThanosQuery
type: prometheus
url: http://kommander-kubeaddons-thanos-query-http:10902/
url: http://kommander-kubeaddons-thanos-query-http.kommander:10902/
access: proxy
isDefault: true
- name: KommanderPrometheus
type: prometheus
url: http://prometheus-kubeaddons-prom-prometheus.kubeaddons:9090/
access: proxy
isDefault: false

## Sidecars that collect the configmaps with specified label and stores the included files them into the respective folders
## Requires at least Grafana 5 to work and can't be used together with parameters dashboardProviders, datasources and dashboards
Expand Down

0 comments on commit 86dd763

Please sign in to comment.