Skip to content

Commit

Permalink
Add vu, iter and url to the default StatsD tag blocklist
Browse files Browse the repository at this point in the history
  • Loading branch information
na-- committed Jun 15, 2021
1 parent 91bfc1c commit db50dd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion output/statsd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func newConfig() config {
BufferSize: null.NewInt(20, false),
Namespace: null.NewString("k6.", false),
PushInterval: types.NewNullDuration(1*time.Second, false),
TagBlocklist: stats.TagSet{},
TagBlocklist: (stats.TagVU | stats.TagIter | stats.TagURL).Map(),
EnableTags: null.NewBool(false, false),
}
}
Expand Down
4 changes: 2 additions & 2 deletions output/statsd/datadog.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import (
"time"

"github.com/kelseyhightower/envconfig"
"github.com/sirupsen/logrus"
"go.k6.io/k6/lib/types"
"go.k6.io/k6/output"
"go.k6.io/k6/stats"
"github.com/sirupsen/logrus"
"gopkg.in/guregu/null.v3"
)

Expand Down Expand Up @@ -70,7 +70,7 @@ func newdatadogConfig() datadogConfig {
BufferSize: null.NewInt(20, false),
Namespace: null.NewString("k6.", false),
PushInterval: types.NewNullDuration(1*time.Second, false),
TagBlacklist: stats.TagSet{},
TagBlacklist: (stats.TagVU | stats.TagIter | stats.TagURL).Map(),
}
}

Expand Down

0 comments on commit db50dd0

Please sign in to comment.