Closed marcsanmi closed 1 year ago
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Also r.Flush(batchCtx, batch.Metrics, r.nextConsumer)
few lines above is failing silently
Look like good first issue, how I can approach this. thanks
Sure, @afzal442, feel free to take this on.
If any aggregation or flushing error occurs, I would log the error using the OnDebugf
function from the already defined Reporter
interface. It might also be worth considering whether logging it as a warning would be more appropriate.
@afzal442 are you still working on this? If not I can tackle this issue. Thanks
Sorry @alexandreliberato! You can go ahead. I've got something else to cook off.
Component(s)
receiver/statsd
Is your feature request related to a problem? Please describe.
The receiver's main aggregating process is failing silently. Was this a design choice? While troubleshooting why a metric wasn't being processed by the receiver, I had to manually modify the receiver to log the error in the collector. Here's the main culprit:
Describe the solution you'd like
Exposing these errors and making them accessible in the collector logs would be beneficial. For example, this could be accomplished by including them as a debug log.
Describe alternatives you've considered
No response
Additional context
No response