mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 23:02:52 +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