Build issue with the tailtracer tutorial
I'm walking through the tailtracer demo and I'm at the point where the tailtracer.NewFactory() has been added to the components.go file. The instructions say to build the collector and re-run it. I'm doing that with go build as previously explained and get the following errors:
go build
github.com/rquedas/otel4devs/collector/receiver/trace-receiver/tailtracer
/home/darint/go/pkg/mod/github.com/rquedas/otel4devs/collector/receiver/trace-receiver/[email protected]/factory.go:46:32: not enough arguments in call to component.WithTracesReceiver have (func(_ context.Context, params component.ReceiverCreateSettings, baseCfg config.Receiver, consumer consumer.Traces) (component.TracesReceiver, error)) want (component.CreateTracesReceiverFunc, component.StabilityLevel) /home/darint/go/pkg/mod/github.com/rquedas/otel4devs/collector/receiver/trace-receiver/[email protected]/model.go:126:13: atmAttrs.InsertInt undefined (type pcommon.Map has no field or method InsertInt)
.......
Seems the Code needs to be updated to include StabilityLevel when calling WithTracesReceiver.
After the above change, Building the collector at this point in the demo/tutorial will work