diff options
author | Yang Song <songy23@users.noreply.github.com> | 2017-11-08 12:01:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-08 12:01:49 -0800 |
commit | b54b414a098c06022d58d7bd29cc0c547a057433 (patch) | |
tree | 06d515b7ab3b017a5474e3ee02650ede67e89c3c /all | |
parent | 5edd6c2bf4a222bc241edfdb76a22082588d479d (diff) | |
download | opencensus-java-b54b414a098c06022d58d7bd29cc0c547a057433.tar.gz |
Update Stats implementation to use Stats state (#789)
* Add CurrentStatsState
* Use stats state for register, record and getView
* Throw IllegalStateException when setState is called after getState
* Register views and return empty ViewData when Stats is disabled
* Disable stats library will clear recorded stats
* Re-enable StatsCollectionState will reset MutableViewData. Update CurrentStatsState.
* Small updates
Diffstat (limited to 'all')
0 files changed, 0 insertions, 0 deletions