aboutsummaryrefslogtreecommitdiff
path: root/api/src/main
diff options
context:
space:
mode:
authorYang Song <songy23@users.noreply.github.com>2018-08-08 12:34:25 -0700
committerGitHub <noreply@github.com>2018-08-08 12:34:25 -0700
commit18aa2793facbb3d7e252ac32e6bb4d09f08a37ac (patch)
treeb6051b72e59b80c124a573962d70790a64aed671 /api/src/main
parent43651556393859b342d6db65b11aa6dca61b3678 (diff)
downloadopencensus-java-18aa2793facbb3d7e252ac32e6bb4d09f08a37ac.tar.gz
Metrics: Produce and store Metrics in Stats impl. (#1338)
Support recording `Metric`s in stats impl. This works as the following: - When a `View` is registered, convert that `View` to a `MetricDescriptor` and register it; - When a `Measurement` along with a `TagContext` are recorded, convert them into a data row consisting of `LabelValue`s and `Point`s; - If `getMetrics()` is called, convert the `MetricDescriptor`s and data rows into `Metric`s. Then flush all data rows. This PR only contains internal support in the impl. None of these changes are user-visible yet.
Diffstat (limited to 'api/src/main')
0 files changed, 0 insertions, 0 deletions