Skip to content

Commit

Permalink
fix: Fix Grafana dashboards and set temporal metrics port statically
Browse files Browse the repository at this point in the history
  • Loading branch information
whiterabbit1983 committed Dec 11, 2024
1 parent 83487c3 commit a5f3f7d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions monitoring/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ services:
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning
- ./grafana/provisioning/dashboards:/var/lib/grafana/dashboards
- ./grafana/dashboard.yaml:/etc/grafana/provisioning/dashboards/main.yaml
profiles:
- multi-tenant

Expand Down
12 changes: 12 additions & 0 deletions monitoring/grafana/dashboard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: 1

providers:
- name: "Dashboard provider"
orgId: 1
type: file
disableDeletion: false
updateIntervalSeconds: 10
allowUiUpdates: false
options:
path: /var/lib/grafana/dashboards
foldersFromFilesStructure: true
2 changes: 1 addition & 1 deletion scheduler/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ x--temporal-base: &temporal-base
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/temporal-postgres.yaml
- DB=postgres12
- LOG_LEVEL=${TEMPORAL_LOG_LEVEL:-info}
- PROMETHEUS_ENDPOINT=${TEMPORAL_PROMETHEUS_ENDPOINT:-0.0.0.0:15000}
- PROMETHEUS_ENDPOINT=0.0.0.0:15000
volumes:
- ./dynamicconfig:/etc/temporal/config/dynamicconfig
- ./cert:/cert
Expand Down

0 comments on commit a5f3f7d

Please sign in to comment.