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