You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/01/18 08:23:42 UTC

[GitHub] [incubator-inlong] shink commented on pull request #2165: [INLONG-2106] DataProxy expose metric data using prometheus HttpServer.

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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org