Closed codecapitano closed 1 year ago
Thanks for reporting, we'll take a look at this as soon as we can.
cc @ptodev, this sounds related to the OpenTelemetry upgrade.
Hi team! I was investigating this a day ago and wanted to put some of my findings in case they are of any help.
Here's a link to the file with the change I think is causing the error (pkg/traces/instance.go). It looks like the line inside of BuildAndStartPipeline
that populates the factories in the trace instance (line 171) gets removed
i.factories = factories // this gets removed
and the factories map (and a lot of other stuff) now lives under i.services
i.service, err = service.New(ctx, service.Settings{
...
Exporters: otelreceivers.NewBuilder(otelConfig.Receivers, factories.Receivers),
...
},
so later down the line when GetFactory
is called, i.factories.Receivers
is an empty map that yields null
for pushreceiver, resulting in the push receiver factory not found for traces instance
error. Haven't had the chance to test this out myself but thought it was worth mentioning 😄
What's wrong?
Since v0.35 the agent doesn't start anymore for the Faro demo which causes the demo page to be unavailable. A few customers reported the same problem. No configuration was changed so it may be that the issue is related to the upgrade.
Error message is:
Steps to reproduce
docker compose pull docker compose up
System information
Mac OS Ventura 13.4.1
Software version
Grafana Agent 0.35
Configuration
Logs