Files
zeekay 96715881cb go mod tidy
Update CLI for genesis

Fix import paths from ethereum/go-ethereum to luxfi/geth

- Replace all ethereum/go-ethereum imports with luxfi/geth
- Add local rawdb package for unexported constants
- Fix build errors in genesis tools
- Add comprehensive migration documentation
- Create build-all.sh script for building all tools
- Clean up duplicate functions and unused imports

Fix remaining imports

Update CLI

Remove symlink

Remove local replace directives

Update

Update old templates
2025-07-31 19:40:18 +00: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: subnet
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