mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
Wire-format codec IDs unchanged. CLI aliases deleted; chain is the command. No backwards-compat shims, no deprecation comments.
66 lines
1.4 KiB
YAML
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
|