Files
zeekay eca508c0e4 scrub: subnet/l2 → chain (canonical vocabulary, forward-only)
Wire-format codec IDs unchanged. CLI aliases deleted; chain is the
command. No backwards-compat shims, no deprecation comments.
2026-05-31 15:23:15 -07:00

66 lines
1.4 KiB
YAML

server:
disable: true
positions:
filename: /tmp/positions.yaml
clients:
- url: http://{{ .IP }}:{{ .Port}}/loki/api/v1/push
scrape_configs:
- job_name: luxd
pipeline_stages:
- regex:
expression: '\[(?P<timestamp>\d{2}-\d{2}\|\d{2}:\d{2}:\d{2}\.\d{3})\]'
- timestamp:
source: timestamp
format: '03-20|01:34:31.515'
static_configs:
- targets:
- localhost
labels:
job: c-chain
host: {{ .Host }}
nodeID: {{ .NodeID }}
__path__: /logs/C.log
- targets:
- localhost
labels:
job: p-chain
host: {{ .Host }}
nodeID: {{ .NodeID }}
__path__: /logs/P.log
- targets:
- localhost
labels:
job: x-chain
host: {{ .Host }}
nodeID: {{ .NodeID }}
__path__: /logs/X.log
- targets:
- localhost
labels:
job: main
host: {{ .Host }}
nodeID: {{ .NodeID }}
__path__: /logs/main.log
{{ if .ChainID }}
- targets:
- localhost
labels:
job: chain
host: {{ .Host }}
nodeID: {{ .NodeID }}
__path__: /logs/{{ .ChainID }}.log
{{ end }}
- job_name: luxd-loadtest
static_configs:
- targets:
- localhost
labels:
job: loadtest
host: {{ .Host }}
nodeID: {{ .NodeID }}
__path__: /logs/loadtest_*.txt