tally icon indicating copy to clipboard operation
tally copied to clipboard

Adding NullStatsReporter and TestScope

Open ravirajj opened this issue 5 years ago • 1 comments

  • Created NullStatsReporter to report no metrics when it is used by ScopeBuilder.
  • Created TestScope to snapshot metrics for tests.

ravirajj avatar May 03 '20 09:05 ravirajj

How would TestScope be consumed? ScopeBuilder returns a Scope, which happens to be ScopeImpl at the moment. Is the plan for consumers to cast that to TestScope where needed? Should we have a separate ScopeBuilder that returns a TestScope explicitly? (maybe inheriting from RootScopeBuilder)

guscastro avatar Jan 18 '23 20:01 guscastro