-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from selimyanat/support-grafana
build(grafana): expose microservice metrics in grafana (docker compos…
- Loading branch information
Showing
10 changed files
with
3,327 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM grafana/grafana:8.2.3 | ||
|
||
COPY ./datasources/prometheus.yml /etc/grafana/provisioning/datasources/prometheus.yml | ||
COPY ./dashboards/dashboards.yml /etc/grafana/provisioning/dashboards/dashboards.yml | ||
COPY ./dashboards/micrometerv9-dashboard.json /var/lib/grafana/dashboards/micrometerv9-dashboard.json |
11 changes: 11 additions & 0 deletions
11
infrastructure/docker-compose/grafana/dashboards/dashboards.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: 1 | ||
|
||
providers: | ||
- name: 'default' | ||
orgId: 1 | ||
folder: '' | ||
type: file | ||
disableDeletion: false | ||
updateIntervalSeconds: 10 #how often Grafana will scan for changed dashboards | ||
options: | ||
path: /var/lib/grafana/dashboards |
Oops, something went wrong.