diff --git a/vppstats/stats.go b/vppstats/stats.go index 3a49dcb..a3b404d 100644 --- a/vppstats/stats.go +++ b/vppstats/stats.go @@ -28,6 +28,9 @@ func statsRoutine(statsSocketPath string, period time.Duration) { } defer c.Disconnect() + // Query stats immediately on startup + queryInterfaceStats(c) + ticker := time.NewTicker(period) defer ticker.Stop()