Skip to content

Commit

Permalink
Added config for prod config
Browse files Browse the repository at this point in the history
  • Loading branch information
raftmsohani committed Dec 9, 2024
1 parent 6a388e8 commit 0a9377b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tdrs-backend/plg/promtail/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,17 @@ scrape_configs:
logger:
message:
time:
- job_name: {{ frontend_env_name }}
static_configs:
- targets:
- localhost
labels:
job: {{ frontend_env_name }}
__path__: /var/log/nginx/access_log.log
level: DEBUG
- targets:
- localhost
labels:
job: {{ frontend_env_name }}
__path__: /var/log/nginx/error_log.log
level: ERROR

0 comments on commit 0a9377b

Please sign in to comment.