Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to receive untagged metrics #6

Open
munkyboy opened this issue Mar 3, 2020 · 0 comments
Open

unable to receive untagged metrics #6

munkyboy opened this issue Mar 3, 2020 · 0 comments

Comments

@munkyboy
Copy link

munkyboy commented Mar 3, 2020

looks like commit 9402726 introduced a bug.

this raw metric works:

deploys.test.myservice:1|c#a:b

this does not:

deploys.test.myservice:1|c

stacktrace:

github.com/catkins/statsd-logger/metrics.colorFormatter.formatTags(0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/catkins/statsd-logger/metrics/formatter.go:37 +0x3e9
github.com/catkins/statsd-logger/metrics.colorFormatter.Format(0xc000014040, 0x16, 0xc000014057, 0x3, 0x0, 0x0, 0xc00000a0c0, 0xc00003be48)
	/go/src/github.com/catkins/statsd-logger/metrics/formatter.go:28 +0xd3
github.com/catkins/statsd-logger/metrics.(*server).logMetric(0xc0000100c0, 0xc000014040, 0x16, 0xc000014057, 0x3, 0x0, 0x0)
	/go/src/github.com/catkins/statsd-logger/metrics/server.go:140 +0x99
github.com/catkins/statsd-logger/metrics.(*server).Listen(0xc0000100c0, 0x0, 0x0)
	/go/src/github.com/catkins/statsd-logger/metrics/server.go:118 +0x367
main.main.func1(0x718cc0, 0xc0000100c0)
	/go/src/github.com/catkins/statsd-logger/cmd/statsd-logger/main.go:22 +0x31
created by main.main
	/go/src/github.com/catkins/statsd-logger/cmd/statsd-logger/main.go:21 +0x145
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant