From 18aa2793facbb3d7e252ac32e6bb4d09f08a37ac Mon Sep 17 00:00:00 2001 From: Yang Song Date: Wed, 8 Aug 2018 12:34:25 -0700 Subject: 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. --- buildscripts/import-control.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'buildscripts') diff --git a/buildscripts/import-control.xml b/buildscripts/import-control.xml index f69428b3..66c561a4 100644 --- a/buildscripts/import-control.xml +++ b/buildscripts/import-control.xml @@ -168,6 +168,7 @@ General guidelines on imports: + -- cgit v1.2.3