mirror of
https://github.com/h44z/wg-portal
synced 2025-06-26 18:16:21 +00:00
Added comment to peer config for prometheus exporter
This commit is contained in:
parent
0e88dc07b2
commit
1a63705f86
@ -60,6 +60,8 @@ PostDown = {{ .Interface.PostDown }}
|
||||
{{range .Peers}}
|
||||
{{- if not .IsDisabled}}
|
||||
[Peer]
|
||||
{{/* `friendly_name` used by https://github.com/MindFlavor/prometheus_wireguard_exporter */ -}}
|
||||
# friendly_name = {{ .DisplayName }}
|
||||
# -WGP- Peer: {{.Identifier}}
|
||||
# -WGP- Created: {{.CreatedAt}}
|
||||
# -WGP- Updated: {{.UpdatedAt}}
|
||||
@ -86,4 +88,4 @@ Endpoint = {{ .Endpoint.GetValue }}
|
||||
PersistentKeepalive = {{ .PersistentKeepalive.GetValue }}
|
||||
{{- end}}
|
||||
{{- end}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user