mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 08:54:00 -04:00
fixes sitedpi strings on influx and prom
This commit is contained in:
@@ -74,10 +74,10 @@ func (u *InfluxUnifi) batchSiteDPI(r report, v any) {
|
||||
"source": s.SourceName,
|
||||
},
|
||||
Fields: map[string]any{
|
||||
"tx_packets": dpi.TxPackets,
|
||||
"rx_packets": dpi.RxPackets,
|
||||
"tx_bytes": dpi.TxBytes,
|
||||
"rx_bytes": dpi.RxBytes,
|
||||
"tx_packets": dpi.TxPackets.Val,
|
||||
"rx_packets": dpi.RxPackets.Val,
|
||||
"tx_bytes": dpi.TxBytes.Val,
|
||||
"rx_bytes": dpi.RxBytes.Val,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user