/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/ |
D | Metric.java | 51 public static Metric create(MetricDescriptor metricDescriptor, List<TimeSeries> timeSeriesList) { in create() argument 53 Utils.checkNotNull(timeSeriesList, "timeSeriesList"), "timeSeries"); in create() 55 metricDescriptor, Collections.unmodifiableList(new ArrayList<TimeSeries>(timeSeriesList))); in create() 81 MetricDescriptor metricDescriptor, List<TimeSeries> timeSeriesList) { in createInternal() argument 83 checkTypeMatch(metricDescriptor.getType(), timeSeriesList); in createInternal() local 84 return new AutoValue_Metric(metricDescriptor, timeSeriesList); in createInternal() 105 private static void checkTypeMatch(MetricDescriptor.Type type, List<TimeSeries> timeSeriesList) { in checkTypeMatch() argument 106 for (TimeSeries timeSeries : timeSeriesList) { in checkTypeMatch()
|
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/ |
D | MetricTest.java | 109 MetricDescriptor metricDescriptor, List<TimeSeries> timeSeriesList, String errorMessage) { in typeMismatch() argument 112 Metric.create(metricDescriptor, timeSeriesList); in typeMismatch() 138 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(); in immutableTimeSeriesList() local 139 timeSeriesList.add(GAUGE_TIME_SERIES_1); in immutableTimeSeriesList() 140 Metric metric = Metric.create(METRIC_DESCRIPTOR_1, timeSeriesList); in immutableTimeSeriesList() 141 timeSeriesList.add(GAUGE_TIME_SERIES_2); in immutableTimeSeriesList()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/metrics/ |
D | DerivedDoubleGaugeImpl.java | 123 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(currentRegisteredPoints.size()); in getMetric() local 126 timeSeriesList.add(entry.getValue().getTimeSeries(clock)); in getMetric() 128 return Metric.create(metricDescriptor, timeSeriesList); in getMetric()
|
D | DerivedLongGaugeImpl.java | 121 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(currentRegisteredPoints.size()); in getMetric() local 124 timeSeriesList.add(entry.getValue().getTimeSeries(clock)); in getMetric() 126 return Metric.create(metricDescriptor, timeSeriesList); in getMetric()
|
D | LongGaugeImpl.java | 141 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(currentRegisteredPoints.size()); in getMetric() local 143 timeSeriesList.add(entry.getValue().getTimeSeries(clock)); in getMetric() 145 return Metric.create(metricDescriptor, timeSeriesList); in getMetric()
|
D | DoubleGaugeImpl.java | 141 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(currentRegisteredPoints.size()); in getMetric() local 143 timeSeriesList.add(entry.getValue().getTimeSeries(clock)); in getMetric() 145 return Metric.create(metricDescriptor, timeSeriesList); in getMetric()
|
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExporterWorker.java | 180 List<TimeSeries> timeSeriesList = Lists.newArrayList(); in export() local 182 timeSeriesList.addAll( in export() 186 Lists.partition(timeSeriesList, MAX_BATCH_EXPORT_SIZE)) { in export()
|
D | StackdriverExportUtils.java | 303 List<TimeSeries> timeSeriesList = Lists.newArrayList(); in createTimeSeriesList() local 305 return timeSeriesList; in createTimeSeriesList() 310 return timeSeriesList; in createTimeSeriesList() 326 timeSeriesList.add(builder.build()); in createTimeSeriesList() 329 return timeSeriesList; in createTimeSeriesList()
|
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExportUtilsTest.java | 483 List<TimeSeries> timeSeriesList = in createTimeSeriesList_cumulative() local 486 assertThat(timeSeriesList).hasSize(2); in createTimeSeriesList_cumulative() 509 assertThat(timeSeriesList).containsExactly(expected1, expected2); in createTimeSeriesList_cumulative() 554 List<TimeSeries> timeSeriesList = in createTimeSeriesList_withCustomMonitoredResource() local 556 assertThat(timeSeriesList) in createTimeSeriesList_withCustomMonitoredResource()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/ |
D | MutableViewData.java | 137 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(); in toMetric() local 142 timeSeriesList.add(TimeSeries.createWithOnePoint(labelValues, point, startTime)); in toMetric() 144 return Metric.create(metricDescriptor, timeSeriesList); in toMetric()
|