Files
zeekayandHanzo Dev 517dde1593 chore: migrate luxd HTTP routes /ext -> /v1
Drop the Avalanche-heritage /ext prefix; /v1 is the single canonical route
surface (one way, no backward compat). The node's baseURL is the source of
truth; clients, SDKs, CLI, indexer, maker, genesis, netrunner, and the
k8s/compose/gateway/explorer configs are updated to match.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-01 11:40:16 -07:00

54 lines
1.4 KiB
YAML

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# +++++++++++++++++++++++++++++++++++++++ #
# DO NOT EDIT THIS FILE #
# THIS FILE IS GENERATED BY LUX-CLI #
# ALL CHANGES WILL BE OVERWRITTEN #
# +++++++++++++++++++++++++++++++++++++++ #
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
global:
scrape_interval: 15s
evaluation_interval: 15s
# scrape_timeout is set to the global default (10s).
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
- job_name: "prometheus"
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ["prometheus:9090"]
- job_name: 'luxd'
metrics_path: '/v1/metrics'
static_configs:
- targets: [{{ .LuxdPorts }}]
- job_name: 'luxd-machine'
static_configs:
- targets: [{{ .MachinePorts }}]
labels:
alias: 'machine'
{{ if ne .LoadTestPorts "" }}
- job_name: 'luxd-loadtest'
metrics_path: '/metrics'
static_configs:
- targets: [{{ .LoadTestPorts }}]
labels:
alias: 'luxd-loadtest'
{{ end }}