Initial commit: add .gitignore and README
This commit is contained in:
74
promtail/promtail.yml
Normal file
74
promtail/promtail.yml
Normal file
@@ -0,0 +1,74 @@
|
||||
server:
|
||||
http_listen_port: 9080
|
||||
grpc_listen_port: 0
|
||||
|
||||
positions:
|
||||
filename: /tmp/positions.yaml
|
||||
|
||||
clients:
|
||||
- url: http://loki:3100/loki/api/v1/push
|
||||
|
||||
scrape_configs:
|
||||
- job_name: besu
|
||||
pipeline_stages:
|
||||
- json:
|
||||
expressions:
|
||||
timestamp: timestamp
|
||||
container: container
|
||||
level: level
|
||||
class: class
|
||||
message: message
|
||||
throwable: throwable
|
||||
thread: thread
|
||||
logger: logger
|
||||
- labels:
|
||||
container:
|
||||
level:
|
||||
- timestamp:
|
||||
source: timestamp
|
||||
format: ISO8601
|
||||
# - template:
|
||||
# source: throwable
|
||||
# template: '{{if .Value }} {{- " | Stack Trace: " -}}{{- .Value -}} {{else}} {{- " " -}} {{end}}'
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: besu
|
||||
__path__: /var/log/besu/*.log
|
||||
|
||||
- job_name: tessera
|
||||
pipeline_stages:
|
||||
- json:
|
||||
expressions:
|
||||
timestamp: timestamp
|
||||
container: container
|
||||
level: level
|
||||
class: class
|
||||
message: message
|
||||
throwable: throwable
|
||||
thread: thread
|
||||
logger: logger
|
||||
- labels:
|
||||
container:
|
||||
level:
|
||||
- timestamp:
|
||||
source: timestamp
|
||||
format: ISO8601
|
||||
# - template:
|
||||
# source: throwable
|
||||
# template: '{{if .Value }} {{- " | Stack Trace: " -}}{{- .Value -}} {{else}} {{- " " -}} {{end}}'
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: tessera
|
||||
__path__: /var/log/tessera/*.log
|
||||
|
||||
- job_name: quorum
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: quorum
|
||||
__path__: /var/log/quorum/*.log
|
||||
Reference in New Issue
Block a user