Commit 0293674e authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Zero out counts for next time step

parent d57cd075
......@@ -117,6 +117,9 @@ func (m *Metrics) logMetrics() {
m.logger.Println("client-snowflake-match-count ", m.clientProxyMatchCount)
//restore all metrics to original values
m.proxyIdleCount = 0
m.clientDeniedCount = 0
m.clientProxyMatchCount = 0
m.countryStats.counts = make(map[string]int)
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment