Skip to content

Commit

Permalink
Merge pull request #20 from TEAM-SAMSION/PET-256
Browse files Browse the repository at this point in the history
Pet 256 chore : 프로메테우스 조회 주기 수정
  • Loading branch information
tlarbals824 authored Dec 21, 2023
2 parents 6a31b54 + ccfeb8c commit fa107c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions monitoring/prometheus.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
global:
scrape_interval: 10s
scrape_interval: 15s

scrape_configs:
- job_name: "dev-pawith"
static_configs:
- targets: ['dev.pawith.com:8079']
metrics_path: /actuator/prometheus
scrape_interval: 1s
scrape_interval: 15s

- job_name: "prod-pawith"
static_configs:
- targets: ['api.pawith.com:8079']
metrics_path: /actuator/prometheus
scrape_interval: 1s
scrape_interval: 15s
4 changes: 4 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ http{
allow all;
root /var/www/certbot;
}

location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
Expand Down

0 comments on commit fa107c7

Please sign in to comment.