error: runtime error: invalid memory address or nil pointer dereference
version: v1.6.3-4851945a
BuildDate: 2024-09-12_09:37:12
GoVersion: 1.22.6
Platform: docker
goroutine 230 [running]:
runtime/debug.Stack()
	runtime/debug/stack.go:24 +0x5e
github.com/crowdsecurity/go-cs-lib/trace.(*traceKeeper).writeStackTrace(0x382a180, {0x1e6c060, 0x3808360})
	github.com/crowdsecurity/go-cs-lib@v0.0.15/trace/trace.go:152 +0x173
github.com/crowdsecurity/go-cs-lib/trace.(*traceKeeper).catchPanic(0x382a180, {0x21676aa, 0x17})
	github.com/crowdsecurity/go-cs-lib@v0.0.15/trace/trace.go:168 +0x13d
github.com/crowdsecurity/go-cs-lib/trace.CatchPanic(...)
	github.com/crowdsecurity/go-cs-lib@v0.0.15/trace/trace.go:37
panic({0x1e6c060?, 0x3808360?})
	runtime/panic.go:770 +0x132
github.com/crowdsecurity/crowdsec/pkg/apiserver.(*apic).SendUsageMetrics(0xc00050b500)
	github.com/crowdsecurity/crowdsec/pkg/apiserver/apic_metrics.go:371 +0x28e
github.com/crowdsecurity/crowdsec/pkg/apiserver.(*APIServer).Run.func6()
	github.com/crowdsecurity/crowdsec/pkg/apiserver/apiserver.go:373 +0x1b
gopkg.in/tomb%2ev2.(*Tomb).run(0xc00050b5f0, 0xc0009bc000?)
	gopkg.in/tomb.v2@v2.0.0-20161208151619-d5d1b5820637/tomb.go:163 +0x2b
created by gopkg.in/tomb%2ev2.(*Tomb).Go in goroutine 245
	gopkg.in/tomb.v2@v2.0.0-20161208151619-d5d1b5820637/tomb.go:159 +0xe5
