Is it necessary to set GOMAXPROCS in a containerised environment?

Hi folks, does Tempo set GOMAXPROCS automatically? I couldn’t see any reference to runtime.GOMAXPROCS or uber-go/automaxprocs in the project. We are running relatively small Tempo containers on relatively large K8s nodes, so want to ensure Go is using its resources efficiently.

Hi @gebn. Tempo does not explicitly set GOMAXPROCS. By default, Go configures GOMAXPROCS to runtime.NumCPU, so it can execute as many CPUs available as possible.