add prometheus metrics

This commit is contained in:
AndrewPaglusch
2023-12-08 22:50:16 -06:00
committed by Andrew Paglusch
parent 70be5b0e44
commit 38340be5e2
3 changed files with 24 additions and 0 deletions

View File

@@ -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