Home
last modified time | relevance | path

Searched refs:timeSeriesList (Results 1 – 10 of 10) sorted by relevance

/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
DMetric.java51 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/
DMetricTest.java109 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/
DDerivedDoubleGaugeImpl.java123 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()
DDerivedLongGaugeImpl.java121 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()
DLongGaugeImpl.java141 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()
DDoubleGaugeImpl.java141 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/
DStackdriverExporterWorker.java180 List<TimeSeries> timeSeriesList = Lists.newArrayList(); in export() local
182 timeSeriesList.addAll( in export()
186 Lists.partition(timeSeriesList, MAX_BATCH_EXPORT_SIZE)) { in export()
DStackdriverExportUtils.java303 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/
DStackdriverExportUtilsTest.java483 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/
DMutableViewData.java137 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()