diff options
author | Yang Song <songy23@users.noreply.github.com> | 2018-08-08 12:34:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 12:34:25 -0700 |
commit | 18aa2793facbb3d7e252ac32e6bb4d09f08a37ac (patch) | |
tree | b6051b72e59b80c124a573962d70790a64aed671 /impl_core/build.gradle | |
parent | 43651556393859b342d6db65b11aa6dca61b3678 (diff) | |
download | opencensus-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 'impl_core/build.gradle')
-rw-r--r-- | impl_core/build.gradle | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/impl_core/build.gradle b/impl_core/build.gradle index 4458d537..4027408d 100644 --- a/impl_core/build.gradle +++ b/impl_core/build.gradle @@ -2,11 +2,13 @@ description = 'OpenCensus Core Implementation' dependencies { compile project(':opencensus-api'), + project(':opencensus-metrics'), libraries.guava compileOnly libraries.auto_value testCompile project(':opencensus-api'), + project(':opencensus-metrics'), project(':opencensus-testing') signature "org.codehaus.mojo.signature:java16:+@signature" |