Will-Lo commented on PR #3881:
URL: https://github.com/apache/gobblin/pull/3881#issuecomment-2010367619

   Opentelemetry decouples metrics emission from the way it reads from your 
metrics. The metric reader specification is here: 
https://github.com/open-telemetry/opentelemetry-specification/blob/v1.13.0/specification/metrics/sdk.md#metricreader
   
   So essentially you can have pluggable exporters that work with any reader, 
you can have the reader follow some aggregation and other behaviors e.g. 
scheduled, and exporters only deal with sending metrics to a backend system 
over a communication mechanism.
   
   The purpose of using the in-memory metric reader is to read directly from 
the metrics instead of having to wait for the scheduled reader that is the 
default behavior. This helps with avoiding race conditions in tests although 
care needs to be taken with the aggregation settings (left as default similar 
to the scheduled reader for now). 


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