Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
justinglock40 authored Jan 12, 2020
1 parent 5a5176d commit 5b9cb52
Showing 1 changed file with 41 additions and 23 deletions.
64 changes: 41 additions & 23 deletions menu/new_ui/templates/promtail/docker-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,50 @@ server:
positions:
filename: /tmp/positions.yaml

clients:
- url: http://loki:3100/loki/api/v1/push
client:
url: http://loki:3100/loki/api/v1/push

scrape_configs:
- job_name: pgblitzlogs
static_configs:
- targets:
- job_name: pgvar
pipeline_stages:
- docker:
static_configs:
- targets:
- localhost
labels:
job: pgblitzlogs
__path__: /var/log/pgblitz.log
labels:
job: pgvar
host: yourhost
__path__: /var/log/*.log

scrape_configs:
- job_name: emergencylogs
static_configs:
- targets:
- job_name: uploader
pipeline_stages:
- docker:
static_configs:
- targets:
- localhost
labels:
job: emergencylogs
__path__: /var/log/emergency/*log

scrape_configs:
- job_name: drivelogs
static_configs:
- targets:
labels:
job: uploader
host: yourhost
__path__: /var/log/uploader/*.log

- job_name: mounts
pipeline_stages:
- docker:
static_configs:
- targets:
- localhost
labels:
job: mounts
host: yourhost
__path__: /var/log/drive/*.log

- job_name: emergency
pipeline_stages:
- docker:
static_configs:
- targets:
- localhost
labels:
job: drivelogs
__path__: /var/log//drives/*log
labels:
job: emergency
host: yourhost
__path__: /var/log/emergency/*.log

0 comments on commit 5b9cb52

Please sign in to comment.