You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MetricsLogger class is thread-safe. Specifically, the generalized multi-threading use cases for this library are:
323
+
The MetricsLogger class is thread-safe. Specifically, the generalized multi-threading use cases for this library are:
324
324
325
325
1. Collect some metrics or metadata on a single MetricsLogger; Pass the logger into one or more async contexts where new metrics or metadata can be added concurrently; Join the async contexts (e.g. Future.get()) and flush the metrics.
326
326
2. Collect some metrics or metadata on a single MetricsLogger; Pass the logger into an async context; Flush from the async context concurrently.
0 commit comments