mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
54 lines
1.4 KiB
YAML
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: '/ext/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 }}
|