mirror of
https://github.com/openziti/zrok.git
synced 2024-12-23 07:09:12 +01:00
not session... service
This commit is contained in:
parent
13251aec17
commit
4a69d9dd31
@ -135,7 +135,7 @@ func (ma *metricsAgent) processMetrics(m *model.Metrics) error {
|
||||
for k, v := range m.Sessions {
|
||||
if ma.writeApi != nil {
|
||||
pt := influxdb2.NewPoint("xfer",
|
||||
map[string]string{"namespace": m.Namespace, "session": k},
|
||||
map[string]string{"namespace": m.Namespace, "service": k},
|
||||
map[string]interface{}{"bytesRead": v.BytesRead, "bytesWritten": v.BytesWritten},
|
||||
time.UnixMilli(v.LastUpdate))
|
||||
pts = append(pts, pt)
|
||||
|
Loading…
Reference in New Issue
Block a user