diff --git a/examples/otel/cmd/main.go b/examples/otel/cmd/main.go index 749262a..da56ca4 100644 --- a/examples/otel/cmd/main.go +++ b/examples/otel/cmd/main.go @@ -26,7 +26,7 @@ var ( func main() { rand.Seed(time.Now().UnixNano()) - autometricsInitOpts := make([]autometrics.InitOption, 0) + autometricsInitOpts := make([]autometrics.InitOption, 0, 6) if os.Getenv("AUTOMETRICS_OTLP_URL") != "" { autometricsInitOpts = append(autometricsInitOpts,