Skip to content

Commit 9433eb7

Browse files
committed
feat(client-test): switch to 47 tags
1 parent 1be5bb7 commit 9433eb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/statshouse-client-test/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func main() {
2323
var args argv
2424
flag.IntVar(&args.n, "n", 100, "number of iterations")
2525
flag.IntVar(&args.m, "m", 300, "number of series to send per iteration")
26-
flag.IntVar(&args.tagsNum, "tags", 16, "number of tags to use")
26+
flag.IntVar(&args.tagsNum, "tags", 47, "number of tags to use")
2727
flag.IntVar(&args.maxStrLen, "max-str-len", 32, "maximum string length")
2828
flag.BoolVar(&args.viewCode, "view-code", false, "open generated source files in Visual Studio Code")
2929
flag.BoolVar(&args.keepTemp, "keep-temp", false, "do not remove generated temporary files")

cmd/statshouse-client-test/receiver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
type series map[tags]map[uint32]*value
1818
type tag [2]string // name, value
19-
type tags [17]tag // metric name + 16 tags
19+
type tags [49]tag // metric name + tags
2020

2121
type value struct {
2222
counter float64

0 commit comments

Comments
 (0)