Skip to content

Commit

Permalink
ft(monitoring): prometheus target fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantprateek committed Aug 15, 2023
1 parent 8c9f135 commit 822b95e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .docker/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
global:
scrape_interval: "15s"
scrape_timeout: "10s"
evaluation_interval: "15s"
scrape_configs:
- job_name: 'http_request_duration_seconds'
static_configs:
- targets: ['landate-gateway:8000']
2 changes: 1 addition & 1 deletion prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ global:
scrape_configs:
- job_name: 'http_request_duration_seconds'
static_configs:
- targets: ['127.0.0.1:2222', '127.0.0.1:8000']
- targets: ['backend:2222']

0 comments on commit 822b95e

Please sign in to comment.