Skip to content

Commit

Permalink
fix: download/upload device collectors (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelheusschen authored Oct 27, 2023
1 parent 148ea15 commit 2fa9077
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/collector/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ func NewDeviceCollector(c *api.Client) *deviceCollector {
labels,
nil,
),
omadaDeviceDownload: prometheus.NewDesc("omada_device_download",
"Device download traffic.",
labels,
nil,
),
omadaDeviceUpload: prometheus.NewDesc("omada_device_upload",
"Device upload traffic.",
labels,
nil,
),
omadaDeviceTxRate: prometheus.NewDesc("omada_device_tx_rate",
"The tx rate of the device.",
labels,
Expand Down

0 comments on commit 2fa9077

Please sign in to comment.