Home
last modified time | relevance | path

Searched refs:TimeSeries (Results 1 – 20 of 20) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DTimeSeriesTest.java52 TimeSeries cumulativeTimeSeries = in testGet_TimeSeries()
53 TimeSeries.create( in testGet_TimeSeries()
66 TimeSeries.create(null, Collections.<Point>emptyList(), TIMESTAMP_1); in create_WithNullLabelValueList()
74 TimeSeries.create(labelValues, Collections.<Point>emptyList(), TIMESTAMP_1); in create_WithNullLabelValue()
81 TimeSeries.create(Collections.<LabelValue>emptyList(), null, TIMESTAMP_1); in create_WithNullPointList()
89 TimeSeries.create(Collections.<LabelValue>emptyList(), points, TIMESTAMP_1); in create_WithNullPoint()
94 TimeSeries cumulativeTimeSeries = in testGet_WithOnePointTimeSeries()
95 TimeSeries.createWithOnePoint( in testGet_WithOnePointTimeSeries()
108 TimeSeries.createWithOnePoint(null, POINT_1, TIMESTAMP_1); in createWithOnePoint_WithNullLabelValueList()
116 TimeSeries.createWithOnePoint(labelValues, POINT_1, TIMESTAMP_1); in createWithOnePoint_WithNullLabelValue()
[all …]
DMetricTest.java70 private static final TimeSeries GAUGE_TIME_SERIES_1 =
71 TimeSeries.create(
73 private static final TimeSeries GAUGE_TIME_SERIES_2 =
74 TimeSeries.create(
76 private static final TimeSeries CUMULATIVE_TIME_SERIES =
77 TimeSeries.create(
109 MetricDescriptor metricDescriptor, List<TimeSeries> timeSeriesList, String errorMessage) { in typeMismatch()
119 Metric.create(null, Collections.<TimeSeries>emptyList()); in create_WithNullMetricDescriptor()
138 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(); in immutableTimeSeriesList()
174 .addEqualityGroup(Metric.create(METRIC_DESCRIPTOR_1, Collections.<TimeSeries>emptyList())) in testEquals()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
DMetric.java51 public static Metric create(MetricDescriptor metricDescriptor, List<TimeSeries> timeSeriesList) { in create()
55 metricDescriptor, Collections.unmodifiableList(new ArrayList<TimeSeries>(timeSeriesList))); in create()
67 MetricDescriptor metricDescriptor, TimeSeries timeSeries) { in createWithOneTimeSeries()
81 MetricDescriptor metricDescriptor, List<TimeSeries> timeSeriesList) { in createInternal()
103 public abstract List<TimeSeries> getTimeSeriesList(); in getTimeSeriesList()
105 private static void checkTypeMatch(MetricDescriptor.Type type, List<TimeSeries> timeSeriesList) { in checkTypeMatch()
106 for (TimeSeries timeSeries : timeSeriesList) { in checkTypeMatch()
DTimeSeries.java39 public abstract class TimeSeries { class
41 TimeSeries() {} in TimeSeries() method in TimeSeries
53 public static TimeSeries create( in create()
71 public static TimeSeries createWithOnePoint( in createWithOnePoint()
86 private static TimeSeries createInternal( in createInternal()
/external/opencensus-java/contrib/dropwizard/src/main/java/io/opencensus/contrib/dropwizard/
DDropWizardMetrics.java39 import io.opencensus.metrics.export.TimeSeries;
107 TimeSeries timeSeries = in collectGauge()
108 TimeSeries.createWithOnePoint( in collectGauge()
132 TimeSeries timeSeries = in collectCounter()
133 TimeSeries.createWithOnePoint( in collectCounter()
158 TimeSeries timeSeries = in collectMeter()
159 TimeSeries.createWithOnePoint( in collectMeter()
230 TimeSeries timeSeries = in collectSnapshotAndCount()
231 TimeSeries.createWithOnePoint( in collectSnapshotAndCount()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/
DLongGaugeImplTest.java31 import io.opencensus.metrics.export.TimeSeries;
112 TimeSeries.createWithOnePoint( in getOrCreateTimeSeries()
150 TimeSeries.createWithOnePoint( in getDefaultTimeSeries()
162 TimeSeries.createWithOnePoint( in removeTimeSeries()
228 List<TimeSeries> expectedTimeSeriesList = new ArrayList<TimeSeries>(); in multipleMetrics_GetMetric()
230 TimeSeries.createWithOnePoint( in multipleMetrics_GetMetric()
233 TimeSeries.createWithOnePoint( in multipleMetrics_GetMetric()
236 TimeSeries.createWithOnePoint( in multipleMetrics_GetMetric()
DDoubleGaugeImplTest.java31 import io.opencensus.metrics.export.TimeSeries;
113 TimeSeries.createWithOnePoint( in getOrCreateTimeSeries()
152 TimeSeries.createWithOnePoint( in getDefaultTimeSeries()
167 TimeSeries.createWithOnePoint( in removeTimeSeries()
233 List<TimeSeries> expectedTimeSeriesList = new ArrayList<TimeSeries>(); in multipleMetrics_GetMetric()
235 TimeSeries.createWithOnePoint( in multipleMetrics_GetMetric()
238 TimeSeries.createWithOnePoint( in multipleMetrics_GetMetric()
241 TimeSeries.createWithOnePoint( in multipleMetrics_GetMetric()
DDerivedDoubleGaugeImplTest.java29 import io.opencensus.metrics.export.TimeSeries;
138 TimeSeries.createWithOnePoint( in createTimeSeries_WithObjFunction()
159 TimeSeries.createWithOnePoint( in addTimeSeries_WithNullObj()
185 List<TimeSeries> expectedTimeSeriesList = new ArrayList<TimeSeries>(); in multipleMetrics_GetMetric()
187 TimeSeries.createWithOnePoint( in multipleMetrics_GetMetric()
190 TimeSeries.createWithOnePoint( in multipleMetrics_GetMetric()
DDerivedLongGaugeImplTest.java29 import io.opencensus.metrics.export.TimeSeries;
143 TimeSeries.createWithOnePoint( in createTimeSeries_WithObjFunction()
157 TimeSeries.createWithOnePoint( in addTimeSeries_WithNullObj()
185 List<TimeSeries> expectedTimeSeriesList = new ArrayList<TimeSeries>(); in multipleMetrics_GetMetric()
187 TimeSeries.createWithOnePoint( in multipleMetrics_GetMetric()
190 TimeSeries.createWithOnePoint( in multipleMetrics_GetMetric()
DMetricRegistryImplTest.java36 import io.opencensus.metrics.export.TimeSeries;
247 TimeSeries.createWithOnePoint( in addLongGauge_GetMetrics()
261 TimeSeries.createWithOnePoint( in addDoubleGauge_GetMetrics()
276 TimeSeries.createWithOnePoint( in addDerivedLongGauge_GetMetrics()
291 TimeSeries.createWithOnePoint( in addDerivedDoubleGauge_GetMetrics()
333 TimeSeries.createWithOnePoint( in getMetrics()
337 TimeSeries.createWithOnePoint( in getMetrics()
341 TimeSeries.createWithOnePoint( in getMetrics()
345 TimeSeries.createWithOnePoint( in getMetrics()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/metrics/
DDerivedDoubleGaugeImpl.java32 import io.opencensus.metrics.export.TimeSeries;
123 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(currentRegisteredPoints.size()); in getMetric()
146 private TimeSeries getTimeSeries(Clock clock) { in getTimeSeries()
151 return TimeSeries.createWithOnePoint( in getTimeSeries()
DDerivedLongGaugeImpl.java32 import io.opencensus.metrics.export.TimeSeries;
121 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(currentRegisteredPoints.size()); in getMetric()
144 private TimeSeries getTimeSeries(Clock clock) { in getTimeSeries()
149 return TimeSeries.createWithOnePoint( in getTimeSeries()
DLongGaugeImpl.java32 import io.opencensus.metrics.export.TimeSeries;
141 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(currentRegisteredPoints.size()); in getMetric()
169 private TimeSeries getTimeSeries(Clock clock) { in getTimeSeries()
170 return TimeSeries.createWithOnePoint( in getTimeSeries()
DDoubleGaugeImpl.java33 import io.opencensus.metrics.export.TimeSeries;
141 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(currentRegisteredPoints.size()); in getMetric()
169 private TimeSeries getTimeSeries(Clock clock) { in getTimeSeries()
170 return TimeSeries.createWithOnePoint( in getTimeSeries()
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExportUtilsTest.java34 import com.google.monitoring.v3.TimeSeries;
483 List<TimeSeries> timeSeriesList = in createTimeSeriesList_cumulative()
487 TimeSeries expected1 = in createTimeSeriesList_cumulative()
488 TimeSeries.newBuilder() in createTimeSeriesList_cumulative()
498 TimeSeries expected2 = in createTimeSeriesList_cumulative()
499 TimeSeries.newBuilder() in createTimeSeriesList_cumulative()
554 List<TimeSeries> timeSeriesList = in createTimeSeriesList_withCustomMonitoredResource()
558 TimeSeries.newBuilder() in createTimeSeriesList_withCustomMonitoredResource()
DStackdriverExporterWorkerTest.java38 import com.google.monitoring.v3.TimeSeries;
146 List<TimeSeries> timeSeries = in export()
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExportUtils.java36 import com.google.monitoring.v3.TimeSeries;
299 static List<TimeSeries> createTimeSeriesList( in createTimeSeriesList()
303 List<TimeSeries> timeSeriesList = Lists.newArrayList(); in createTimeSeriesList()
314 TimeSeries.Builder shared = TimeSeries.newBuilder(); in createTimeSeriesList()
322 TimeSeries.Builder builder = shared.clone(); in createTimeSeriesList()
DStackdriverExporterWorker.java29 import com.google.monitoring.v3.TimeSeries;
180 List<TimeSeries> timeSeriesList = Lists.newArrayList(); in export()
185 for (List<TimeSeries> batchedTimeSeries : in export()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DMutableViewData.java40 import io.opencensus.metrics.export.TimeSeries;
137 List<TimeSeries> timeSeriesList = new ArrayList<TimeSeries>(); in toMetric()
142 timeSeriesList.add(TimeSeries.createWithOnePoint(labelValues, point, startTime)); in toMetric()
/external/syzkaller/vendor/golang.org/x/net/internal/timeseries/
Dtimeseries.go469 type TimeSeries struct { struct
474 func NewTimeSeries(f func() Observable) *TimeSeries {
480 func NewTimeSeriesWithClock(f func() Observable, clock Clock) *TimeSeries {
481 ts := new(TimeSeries)