Closed
Description
Component(s)
receiver/googlecloudpubsub
Describe the issue you're reporting
By default all of our deployed OTel collectors are running with logs configured to only emit warnings & errors. For a while now we've got recurring logs being emitted at a warning level for the googlepubsub receiver. Those are "internal" ones on how pubsub streaming pull works and should probably be emitted at debug level instead. The current warning log volume is about ~40k logs per day with around ~500 pods of those receivers deployed.
Example of such logs:
{"level":"warn","ts":1738158502.4433293,"caller":"internal/handler.go:217","msg":"response stream breaking on gRPC s stream terminated by RST_STREAM with error code: INTERNAL_ERROR","kind":"receiver","name":"googlecloudpubsub/xxx","data_type":"logs","s":"stream terminated by RST_STREAM with error code: INTERNAL_ERROR","error":"rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: INTERNAL_ERROR"}
{"level":"warn","ts":1738158502.4433982,"caller":"internal/handler.go:230","msg":"Response Stream loop ended.","kind":"receiver","name":"googlecloudpubsub/xxx","data_type":"logs"}
{"level":"warn","ts":1738158502.4434168,"caller":"internal/handler.go:169","msg":"requestStream <-ctx.Done()","kind":"receiver","name":"googlecloudpubsub/xxx","data_type":"logs"}
{"level":"warn","ts":1738158502.443425,"caller":"internal/handler.go:180","msg":"Request Stream loop ended.","kind":"receiver","name":"googlecloudpubsub/xxx","data_type":"logs"}
{"level":"warn","ts":1738158502.4922369,"caller":"internal/handler.go:124","msg":"End of recovery loop, restarting.","kind":"receiver","name":"googlecloudpubsub/xxx","data_type":"logs"}