Skip to content

Commit 69d0e54

Browse files
authored
Merge pull request #196 from stfc/update_datasource
Doccument and naming changes
2 parents eb45294 + 68d7480 commit 69d0e54

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

grafana_monitoring/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ To replace the Aquilon configuration...
2727
6. Copy your SSL certificate with name format `<your-domain>.crt` to `roles/haproxy/files/` and make sure the key is prepended to the top.
2828
7. Run the ansible playbook
2929
```shell
30-
anisble-playbook run site.yaml --inventory staging/production
30+
ansible-playbook site.yaml --inventory staging/production
3131
```
3232
8. If you need to make changes to either the Grafana or HAProxy config you can run each role separately with their tags
3333
```shell
34-
anisble-playbook run site.yaml --inventory staging/production --tags grafana
34+
ansible-playbook site.yaml --inventory staging/production --tags grafana
3535
# or
36-
anisble-playbook run site.yaml --inventory staging/production --tags haproxy
36+
ansible-playbook site.yaml --inventory staging/production --tags haproxy
3737
```
3838

grafana_monitoring/production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ grafana_dashboards_branch="main"
77
domain="grafana.nubes.rl.ac.uk"
88
client_id=""
99
client_secret=""
10+
weekly_reports_token=""
1011
weekly_reports_token_dw=""
11-
weekly_reports_token_kh=""
1212
prod_opensearch_password=""
1313
prod_influx_password=""
1414
prod_influx_username=""

grafana_monitoring/roles/grafana/templates/cloud_datasource.yaml.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ datasources:
3333
secureJsonData:
3434
basicAuthPassword: {{ prod_opensearch_password }}
3535

36-
- name: WeeklyReportsInfluxDB-KH
36+
- name: WeeklyReportsInfluxDB
3737
type: influxdb
3838
access: proxy
39-
uid: "weekly-reports-kh"
39+
uid: "weekly-reports"
4040
url: "https://172.16.114.22:8086"
4141
basicAuth: false
4242
jsonData:
@@ -46,7 +46,7 @@ datasources:
4646
organization: Cloud
4747
version: Flux
4848
secureJsonData:
49-
token: {{ weekly_reports_token_kh }}
49+
token: {{ weekly_reports_token }}
5050

5151
- name: WeeklyReportsInfluxDB-DW
5252
type: influxdb

grafana_monitoring/staging

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ grafana_dashboards_branch="main"
77
domain="dev-grafana.nubes.rl.ac.uk"
88
client_id=""
99
client_secret=""
10+
weekly_reports_token=""
1011
weekly_reports_token_dw=""
11-
weekly_reports_token_kh=""
1212
prod_opensearch_password=""
1313
prod_influx_password=""
1414
prod_influx_username=""

0 commit comments

Comments
 (0)