|
|
|
|
|
|
78
|
|
78
|
|
|
79
|
duration := evt.CreatedAt.Sub(sInfo.createdAt)
|
79
|
duration := evt.CreatedAt.Sub(sInfo.createdAt)
|
|
80
|
|
80
|
|
|
81
|
- p.factory.metricClientConnections.WithLabelValues(sInfo.GetRemoteIPType()).Dec()
|
|
|
|
|
|
81
|
+ p.factory.metricClientConnections.WithLabelValues(sInfo.GetClientIPType()).Dec()
|
|
82
|
p.factory.metricSessionDuration.Observe(float64(duration) / float64(time.Second))
|
82
|
p.factory.metricSessionDuration.Observe(float64(duration) / float64(time.Second))
|
|
83
|
|
83
|
|
|
84
|
if sInfo.remoteIP == nil {
|
84
|
if sInfo.remoteIP == nil {
|