This commit is contained in:
Cody Lee
2022-11-23 21:21:24 -06:00
parent 73be53bdbc
commit 7f91dff9d3
12 changed files with 13 additions and 14 deletions
-1
View File
@@ -4,7 +4,6 @@ go 1.19
require (
github.com/spf13/pflag v1.0.6-0.20201009195203-85dd5c8bc61c
github.com/unpoller/promunifi v0.0.0-20210623101918-b986e661ac99
golift.io/cnfg v0.2.1
golift.io/version v0.0.2
)
+1 -1
View File
@@ -2,7 +2,7 @@ package promunifi
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/unpoller/unifi"
"github.com/unpoller/unpoller/core/unifi"
)
type uclient struct {
+3 -3
View File
@@ -12,9 +12,9 @@ import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
promver "github.com/prometheus/common/version"
"github.com/unpoller/poller"
"github.com/unpoller/unifi"
"github.com/unpoller/webserver"
"github.com/unpoller/unpoller/core/poller"
"github.com/unpoller/unpoller/core/unifi"
"github.com/unpoller/unpoller/core/webserver"
"golift.io/version"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/unpoller/webserver"
"github.com/unpoller/unpoller/core/webserver"
)
// Logf logs a message.
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"time"
"github.com/prometheus/client_golang/prometheus"
"github.com/unpoller/poller"
"github.com/unpoller/unpoller/core/poller"
)
// This file contains the report interface.
+1 -1
View File
@@ -2,7 +2,7 @@ package promunifi
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/unpoller/unifi"
"github.com/unpoller/unpoller/core/unifi"
)
type site struct {
+1 -1
View File
@@ -2,7 +2,7 @@ package promunifi
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/unpoller/unifi"
"github.com/unpoller/unpoller/core/unifi"
)
type uap struct {
+1 -1
View File
@@ -2,7 +2,7 @@ package promunifi
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/unpoller/unifi"
"github.com/unpoller/unpoller/core/unifi"
)
// These are shared by all four device types: UDM, UAP, USG, USW.
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"strings"
"github.com/prometheus/client_golang/prometheus"
"github.com/unpoller/unifi"
"github.com/unpoller/unpoller/core/unifi"
)
type usg struct {
+1 -1
View File
@@ -2,7 +2,7 @@ package promunifi
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/unpoller/unifi"
"github.com/unpoller/unpoller/core/unifi"
)
type usw struct {
+1 -1
View File
@@ -1,7 +1,7 @@
package promunifi
import (
"github.com/unpoller/unifi"
"github.com/unpoller/unpoller/core/unifi"
)
// exportUXG is a collection of stats from USG and USW. It has no unique stats.
+1 -1
View File
@@ -13,7 +13,7 @@ import (
_ "github.com/unpoller/integrations/datadogunifi"
_ "github.com/unpoller/integrations/influxunifi"
_ "github.com/unpoller/integrations/lokiunifi"
_ "github.com/unpoller/promunifi"
_ "github.com/unpoller/integrations/promunifi"
)
// Keep it simple.