Skip to content

Commit

Permalink
data source
Browse files Browse the repository at this point in the history
  • Loading branch information
czantoine committed Oct 29, 2024
1 parent d01081e commit 335e192
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions quickstart/grafana/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ RUN mkdir -p /var/lib/grafana/dashboards

RUN curl -o /var/lib/grafana/dashboards/dashboard.json https://grafana.com/api/dashboards/21378/revisions/5/download

RUN sed -i '' 's/"uid": *"\${DS_MSSQL}"/"uid": ""/g' /var/lib/grafana/dashboards/dashboard.json

COPY ./quickstart/grafana/dashboards.yml /etc/grafana/provisioning/dashboards/default.yml
COPY ./quickstart/grafana/datasource.yml /etc/grafana/provisioning/datasources/default.yml
2 changes: 1 addition & 1 deletion quickstart/grafana/datasource.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: 1

datasources:
- name: '${DS_MSSQL}'
- name: 'DS_MSSQL'
type: 'mssql'
access: proxy
url: sqlserver:1433
Expand Down

0 comments on commit 335e192

Please sign in to comment.