add prometheus metrics
This commit is contained in:
committed by
Andrew Paglusch
parent
70be5b0e44
commit
38340be5e2
@@ -17,6 +17,12 @@ nebula_lighthouse_public_port: 4242
|
||||
nebula_lighthouse_is_relay: true
|
||||
nebula_lighthouse_extra_config: {}
|
||||
|
||||
nebula_metrics_prometheus_enabled: false
|
||||
nebula_metrics_prometheus_listen: "127.0.0.1:4244"
|
||||
nebula_metrics_prometheus_path: "/metrics"
|
||||
nebula_metrics_prometheus_namespace: nebula
|
||||
nebula_metrics_prometheus_interval: 10s
|
||||
|
||||
nebula_firewall_block_action: drop
|
||||
|
||||
nebula_inbound_rules:
|
||||
|
||||
@@ -68,6 +68,15 @@ logging:
|
||||
level: info
|
||||
format: text
|
||||
|
||||
{% if nebula_metrics_prometheus_enabled %}
|
||||
stats:
|
||||
type: prometheus
|
||||
listen: {{ nebula_metrics_prometheus_listen }}
|
||||
path: {{ nebula_metrics_prometheus_path }}
|
||||
namespace: {{ nebula_metrics_prometheus_namespace }}
|
||||
interval: {{ nebula_metrics_prometheus_interval }}
|
||||
{% endif %}
|
||||
|
||||
# you NEED this firewall section.
|
||||
#
|
||||
# Nebula has its own firewall in addition to anything
|
||||
|
||||
@@ -67,6 +67,15 @@ logging:
|
||||
level: info
|
||||
format: text
|
||||
|
||||
{% if nebula_metrics_prometheus_enabled %}
|
||||
stats:
|
||||
type: prometheus
|
||||
listen: {{ nebula_metrics_prometheus_listen }}
|
||||
path: {{ nebula_metrics_prometheus_path }}
|
||||
namespace: {{ nebula_metrics_prometheus_namespace }}
|
||||
interval: {{ nebula_metrics_prometheus_interval }}
|
||||
{% endif %}
|
||||
|
||||
# you NEED this firewall section.
|
||||
#
|
||||
# Nebula has its own firewall in addition to anything
|
||||
|
||||
Reference in New Issue
Block a user