##// END OF EJS Templates
.gitignore: remove postgres logs
.gitignore: remove postgres logs

File last commit:

r15:89c30086
r18:0581d5b9
Show More
promtail-config.yaml
37 lines | 751 B | text/x-yaml | YamlLexer
/ config / loki / promtail-config.yaml
server:
http_listen_port: 9080
grpc_listen_port: 0
# Describes how to save read file offsets to disk
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki:3100/loki/api/v1/push
tenant_id: docker
## Definition to what to scrape
scrape_configs:
- job_name: scraping_nginx
static_configs:
- targets:
- localhost
labels:
__path__: /var/log_volume/nginx/rhodecode*
job: nginx
- job_name: scraping_vcsserver
static_configs:
- targets:
- localhost
labels:
__path__: /var/log_volume/apps/rhodecode*
job: rhodecode
- job_name: scraping_rhodecode
static_configs:
- targets:
- localhost
labels:
__path__: /var/log_volume/apps/vcsserver*
job: vcsserver