fixes
This commit is contained in:
parent
b17efe43b4
commit
49b78d12ce
|
|
@ -4,8 +4,6 @@ go:
|
|||
before_install:
|
||||
# download super-linter: golangci-lint
|
||||
- curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin latest
|
||||
install:
|
||||
- go mod download
|
||||
script:
|
||||
- golangci-lint run --enable-all -e G402 -D gochecknoinits -D funlen
|
||||
- go test ./...
|
||||
- golangci-lint run --enable-all -e G402 -D gochecknoinits -D funlen
|
||||
|
|
|
|||
|
|
@ -127,15 +127,18 @@ func reportClientDPItotals(r report, appTotal, catTotal totalsDPImap) {
|
|||
val totalsDPImap
|
||||
}
|
||||
|
||||
// This produces 7000+ metrics per site. Disabled for now.
|
||||
if appTotal != nil {
|
||||
appTotal = nil
|
||||
}
|
||||
|
||||
// This can allow us to aggregate other data types later, like `name` or `mac`, or anything else unifi adds.
|
||||
a := all{
|
||||
/*
|
||||
// This produces 7000+ metrics per site. Disabled for now.
|
||||
{
|
||||
kind: "application",
|
||||
val: appTotal,
|
||||
},
|
||||
*/
|
||||
// This produces 7000+ metrics per site. Disabled for now.
|
||||
{
|
||||
kind: "application",
|
||||
val: appTotal,
|
||||
},
|
||||
{
|
||||
kind: "category",
|
||||
val: catTotal,
|
||||
|
|
|
|||
Loading…
Reference in New Issue