Update prometheus metrics to use new EventOnProxyStats

This commit is contained in:
Cecylia Bocovich 2023-10-31 12:20:53 -04:00
parent caa2b36463
commit 22d9381d9d
No known key found for this signature in database
GPG key ID: 009DE379FD9B7B90
2 changed files with 5 additions and 4 deletions

View file

@ -46,7 +46,7 @@ func (p *periodicProxyStats) OnNewSnowflakeEvent(e event.SnowflakeEvent) {
func (p *periodicProxyStats) logTick() error {
inboundSum, outboundSum := p.bytesLogger.GetStat()
e := &event.EventOnProxyStats{
e := event.EventOnProxyStats{
SummaryInterval: p.logPeriod,
ConnectionCount: p.connectionCount,
}