mirror of
https://github.com/unpoller/unpoller.git
synced 2026-03-31 06:33:57 -04:00
Rebasing
This commit is contained in:
@@ -242,6 +242,7 @@
|
||||
# save_alarms = false
|
||||
# save_anomalies = false
|
||||
# save_dpi = false
|
||||
# save_traffic = false
|
||||
# save_rogue = false
|
||||
# verify_ssl = false
|
||||
# ssl_cert_paths = []
|
||||
|
||||
@@ -51,6 +51,7 @@ func formatControllers(controllers []*Controller) []*Controller {
|
||||
HashPII: c.HashPII,
|
||||
DropPII: c.DropPII,
|
||||
SaveSites: c.SaveSites,
|
||||
SaveTraffic: c.SaveTraffic,
|
||||
User: c.User,
|
||||
Pass: strconv.FormatBool(c.Pass != ""),
|
||||
APIKey: strconv.FormatBool(c.APIKey != ""),
|
||||
|
||||
@@ -3,6 +3,7 @@ package promunifi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/prometheus/client_golang/prometheus/collectors"
|
||||
"net"
|
||||
"net/http"
|
||||
"reflect"
|
||||
@@ -10,8 +11,6 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/prometheus/client_golang/prometheus/collectors"
|
||||
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
promver "github.com/prometheus/common/version"
|
||||
|
||||
Reference in New Issue
Block a user