Increased ttl of metrics to 5 minutes

This commit is contained in:
Jan Lošťák
2025-03-04 12:05:05 +01:00
parent 83f986e266
commit aaf4d0b2e7
8 changed files with 67 additions and 67 deletions

View File

@@ -27,7 +27,7 @@ func NewPveSdnCollector(apiClient *proxmox.PveApiClient, registry *TTLRegistry)
Help: "Node software defined network state.",
},
[]string{"cluster", "node", "sdn", "sdn_id"},
1*time.Minute,
5*time.Minute,
)
c.registry.Register(c.state)