shink commented on pull request #2165:
URL: 
https://github.com/apache/incubator-inlong/pull/2165#issuecomment-1015172532


   Dose the role of the method `snapshot()` is to regularly upload latest 
values of the metrics to custom monitor system? If so, does it work in this 
case?
   
   When HTTPServer receives an HTTP request, the `collect()` method will 
collect metrics samples and push them to Prometheus. So, does calling the 
`snapshot()` method guarantee that the latest metrics values can be pushed to 
Prometheus?
   
   It's just my question. Thank you.


-- 
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]


Reply via email to