Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 33 additions & 35 deletions shutter/promtail_config.yaml
Original file line number Diff line number Diff line change
@@ -1,46 +1,44 @@
server:
http_listen_port: 9080
grpc_listen_port: 0

positions:
filename: /tmp/positions.yaml

client:
url: https://logs.metrics.shutter.network/insert/loki/api/v1/push
basic_auth:
username: ${PUSHGATEWAY_USERNAME}
password: ${PUSHGATEWAY_PASSWORD}

scrape_configs:
- job_name: configure
pipeline_stages:
- docker:
static_configs:
- targets:
- localhost
labels:
job: configure
host: ${KEYPER_NAME}
__path__: /tmp/configure.log

- job_name: keyper
pipeline_stages:
- docker:
static_configs:
- targets:
- localhost
labels:
job: keyper
host: ${KEYPER_NAME}
__path__: /tmp/keyper.log

- job_name: chain
pipeline_stages:
- docker:
static_configs:
- targets:
- localhost
labels:
job: chain
host: ${KEYPER_NAME}
__path__: /tmp/chain.log
- job_name: configure
pipeline_stages:
- regex:
expression: '^(?P<_msg>.*)$'
static_configs:
- targets:
- localhost
labels:
job: configure
host: ${KEYPER_NAME}
__path__: /tmp/configure.log
- job_name: keyper
pipeline_stages:
- regex:
expression: '^(?P<_msg>.*)$'
static_configs:
- targets:
- localhost
labels:
job: keyper
host: ${KEYPER_NAME}
__path__: /tmp/keyper.log
- job_name: chain
pipeline_stages:
- regex:
expression: '^(?P<_msg>.*)$'
static_configs:
- targets:
- localhost
labels:
job: chain
host: ${KEYPER_NAME}
__path__: /tmp/chain.log
Loading