FrankChen021 commented on issue #13025: URL: https://github.com/apache/druid/issues/13025#issuecomment-1236755048
I took a look at the implementation, metrics are not pushed to the gateway until the emitter is going to closed. So, actually I think your gateway receives metrics from peon tasks, the only problem is that it doesn't receive metrics when task is running. If a task runs for a long time, this could be a problem. There're many emitters that have a scheduler, such as KafkaEmitter, and GraphiteEmitter. I'm wondering if we can abstract such scheduler mechanism to Emitter interface so that any implementations won't do it by itself and they won't forget to do it. This might be out of the scope of the fix of current problem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
