/external/opencensus-java/api/src/test/java/io/opencensus/stats/ |
D | ViewDataTest.java | 42 import io.opencensus.stats.ViewData.AggregationWindowData; 43 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 44 import io.opencensus.stats.ViewData.AggregationWindowData.IntervalData; 69 ViewData viewData = ViewData.create(view, ENTRIES, windowData); in testCumulativeViewData() 81 ViewData viewData = ViewData.create(view, ENTRIES, windowData); in testIntervalViewData() 96 ViewData.create( in testViewDataEquals() 100 ViewData.create( in testViewDataEquals() 105 ViewData.create( in testViewDataEquals() 110 ViewData.create(intervalView, ENTRIES, IntervalData.create(Timestamp.fromMillis(2000))), in testViewDataEquals() 111 ViewData.create(intervalView, ENTRIES, IntervalData.create(Timestamp.fromMillis(2000)))) in testViewDataEquals() [all …]
|
D | NoopViewManagerTest.java | 28 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 29 import io.opencensus.stats.ViewData.AggregationWindowData.IntervalData; 105 ViewData viewData = viewManager.getView(VIEW_NAME); in noopViewManager_GetView_Cumulative() 122 ViewData viewData = viewManager.getView(VIEW_NAME); in noopViewManager_GetView_Interval()
|
/external/opencensus-java/api/src/main/java/io/opencensus/stats/ |
D | ViewData.java | 58 public abstract class ViewData { class 61 ViewData() {} in ViewData() method in ViewData 121 public static ViewData create( in create() 136 new Function<ViewData.AggregationWindowData.CumulativeData, ViewData>() { in create() 138 public ViewData apply(ViewData.AggregationWindowData.CumulativeData arg) { in create() 143 new Function<ViewData.AggregationWindowData.IntervalData, ViewData>() { in create() 145 public ViewData apply(ViewData.AggregationWindowData.IntervalData arg) { in create() 156 Functions.<ViewData>throwAssertionError()); in create() 171 public static ViewData create( 195 private static ViewData createInternal(
|
D | NoopStats.java | 175 public ViewData getView(View.Name name) { in getView() 182 return ViewData.create( in getView() 187 Functions.<ViewData.AggregationWindowData>returnConstant( in getView() 188 ViewData.AggregationWindowData.CumulativeData.create( in getView() 190 Functions.<ViewData.AggregationWindowData>returnConstant( in getView() 191 ViewData.AggregationWindowData.IntervalData.create(ZERO_TIMESTAMP)), in getView() 192 Functions.<ViewData.AggregationWindowData>throwAssertionError())); in getView()
|
/external/opencensus-java/contrib/zpages/src/test/java/io/opencensus/contrib/zpages/ |
D | RpczZPageHandlerTest.java | 30 import io.opencensus.stats.ViewData; 31 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 32 import io.opencensus.stats.ViewData.AggregationWindowData.IntervalData; 70 ViewData.create( in emitSummaryTableForEachMethod() 77 ViewData.create( in emitSummaryTableForEachMethod() 85 ViewData.create( in emitSummaryTableForEachMethod()
|
D | StatszZPageHandlerTest.java | 44 import io.opencensus.stats.ViewData; 94 private static final ViewData.AggregationWindowData.CumulativeData CUMULATIVE_DATA = 95 ViewData.AggregationWindowData.CumulativeData.create( 97 private static final ViewData VIEW_DATA_1 = 98 ViewData.create( 104 private static final ViewData VIEW_DATA_2 = 105 ViewData.create( 213 private static void assertContainsViewData(OutputStream output, ViewData viewData) { in assertContainsViewData()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/ |
D | MutableViewData.java | 45 import io.opencensus.stats.ViewData; 99 abstract ViewData toViewData(Timestamp now, State state); in toViewData() 161 ViewData toViewData(Timestamp now, State state) { in toViewData() 163 return ViewData.create( in toViewData() 166 ViewData.AggregationWindowData.CumulativeData.create(start, now)); in toViewData() 169 return ViewData.create( in toViewData() 172 ViewData.AggregationWindowData.CumulativeData.create(ZERO_TIMESTAMP, ZERO_TIMESTAMP)); in toViewData() 259 ViewData toViewData(Timestamp now, State state) { in toViewData() 262 return ViewData.create( in toViewData() 265 ViewData.AggregationWindowData.IntervalData.create(now)); in toViewData() [all …]
|
D | ViewManagerImpl.java | 20 import io.opencensus.stats.ViewData; 40 public ViewData getView(View.Name viewName) { in getView()
|
D | StatsManager.java | 27 import io.opencensus.stats.ViewData; 58 ViewData getView(View.Name viewName) { in getView()
|
/external/opencensus-java/exporters/stats/prometheus/src/test/java/io/opencensus/exporter/stats/prometheus/ |
D | PrometheusStatsCollectorTest.java | 33 import io.opencensus.stats.ViewData; 34 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 82 private static final ViewData VIEW_DATA = 83 ViewData.create( 85 private static final ViewData VIEW_DATA_WITH_LE_TAG_KEY = 86 ViewData.create(
|
D | PrometheusExportUtilsTest.java | 46 import io.opencensus.stats.ViewData; 47 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 48 import io.opencensus.stats.ViewData.AggregationWindowData.IntervalData; 266 ViewData.create( in createMetricFamilySamples() 278 ViewData.create( in createMetricFamilySamples() 290 ViewData.create( in createMetricFamilySamples() 316 ViewData.create( in createMetricFamilySamples()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | ViewManagerImplTest.java | 50 import io.opencensus.stats.ViewData; 51 import io.opencensus.stats.ViewData.AggregationWindowData; 52 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 53 import io.opencensus.stats.ViewData.AggregationWindowData.IntervalData; 310 ViewData viewData = viewManager.getView(VIEW_NAME); in testRecordCumulative() 485 ViewData viewData1 = viewManager.getView(VIEW_NAME); in getViewDoesNotClearStats() 497 ViewData viewData2 = viewManager.getView(VIEW_NAME); in getViewDoesNotClearStats() 527 ViewData viewData = viewManager.getView(VIEW_NAME); in testRecordCumulativeMultipleTagValues() 572 ViewData viewData1 = viewManager.getView(VIEW_NAME); in testRecordIntervalMultipleTagValues() 591 ViewData viewData2 = viewManager.getView(VIEW_NAME); in testRecordIntervalMultipleTagValues() [all …]
|
D | StatsRecorderImplTest.java | 43 import io.opencensus.stats.ViewData; 44 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 99 ViewData viewData = viewManager.getView(VIEW_NAME); in record_CurrentContextNotSet() 126 ViewData viewData = viewManager.getView(VIEW_NAME); in record_CurrentContextSet() 149 ViewData viewData = viewManager.getView(VIEW_NAME); in record_UnregisteredMeasure() 167 ViewData viewData = viewManager.getView(VIEW_NAME); in record_WithAttachments_Distribution() 192 ViewData viewData = viewManager.getView(VIEW_NAME); in record_WithAttachments_DistributionNoHistogram() 207 ViewData viewData = viewManager.getView(VIEW_NAME); in record_WithAttachments_Count() 280 ViewData viewData = viewManager.getView(VIEW_NAME); in recordTwice()
|
D | StatsTestUtil.java | 38 import io.opencensus.stats.ViewData; 39 import io.opencensus.stats.ViewData.AggregationWindowData; 40 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 41 import io.opencensus.stats.ViewData.AggregationWindowData.IntervalData; 172 static ViewData createEmptyViewData(View view) { in createEmptyViewData() 173 return ViewData.create( in createEmptyViewData()
|
D | MeasureToViewMapTest.java | 28 import io.opencensus.stats.ViewData; 29 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 63 ViewData viewData = measureToViewMap.getView(VIEW_NAME, clock, State.ENABLED); in testRegisterAndGetView()
|
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExporterWorkerTest.java | 50 import io.opencensus.stats.ViewData; 51 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 122 ViewData viewData = in export() 123 ViewData.create( in export() 169 ViewData empty = in doNotExportForEmptyViewData() 170 ViewData.create( in doNotExportForEmptyViewData()
|
D | StackdriverExportUtilsTest.java | 57 import io.opencensus.stats.ViewData; 58 import io.opencensus.stats.ViewData.AggregationWindowData.CumulativeData; 59 import io.opencensus.stats.ViewData.AggregationWindowData.IntervalData; 482 ViewData viewData = ViewData.create(view, aggregationMap, cumulativeData); in createTimeSeriesList_cumulative() 528 ViewData viewData = in createTimeSeriesList_interval() 529 ViewData.create(view, aggregationMap, IntervalData.create(Timestamp.fromMillis(2000))); in createTimeSeriesList_interval() 553 ViewData viewData = ViewData.create(view, aggregationMap, cumulativeData); in createTimeSeriesList_withCustomMonitoredResource()
|
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/ |
D | RpczZPageHandler.java | 89 import io.opencensus.stats.ViewData; 347 ViewData viewData = viewManager.getView(view.getName()); in getStatsSnapshots() 377 ViewData.AggregationWindowData windowData) { in getStats() 400 / getDurationInSecs((ViewData.AggregationWindowData.CumulativeData) windowData); in getStats() 417 / getDurationInSecs((ViewData.AggregationWindowData.CumulativeData) windowData); in getStats() 441 / getDurationInSecs((ViewData.AggregationWindowData.CumulativeData) windowData); in getStats() 447 ViewData.AggregationWindowData.CumulativeData cumulativeData) { in getDurationInSecs()
|
D | StatszZPageHandler.java | 45 import io.opencensus.stats.ViewData; 175 ViewData viewData = viewManager.getView(current.viewName); in emitHtmlBody() 295 /*@Nullable*/ ViewData viewData, View.Name viewName, PrintWriter out, Formatter formatter) { in emitViewData() 315 View view, ViewData.AggregationWindowData windowData, PrintWriter out, Formatter formatter) { in emitViewInfo() 347 new Function<ViewData.AggregationWindowData.CumulativeData, Void>() { in emitViewInfo() 349 public Void apply(ViewData.AggregationWindowData.CumulativeData arg) { in emitViewInfo()
|
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExportUtils.java | 59 import io.opencensus.stats.ViewData; 300 @javax.annotation.Nullable ViewData viewData, in createTimeSeriesList() 359 ViewData.AggregationWindowData windowData, in createPoint() 370 ViewData.AggregationWindowData windowData, final Aggregation aggregation) { in createTimeInterval() 372 new Function<ViewData.AggregationWindowData.CumulativeData, TimeInterval>() { in createTimeInterval() 374 public TimeInterval apply(ViewData.AggregationWindowData.CumulativeData arg) { in createTimeInterval()
|
D | StackdriverExporterWorker.java | 33 import io.opencensus.stats.ViewData; 172 List</*@Nullable*/ ViewData> viewDataList = Lists.newArrayList(); in export() 181 for (/*@Nullable*/ ViewData viewData : viewDataList) { in export()
|
/external/opencensus-java/exporters/stats/signalfx/src/main/java/io/opencensus/exporter/stats/signalfx/ |
D | SignalFxStatsExporterWorkerThread.java | 27 import io.opencensus.stats.ViewData; 76 ViewData data = views.getView(view.getName()); in export()
|
/external/opencensus-java/exporters/stats/signalfx/src/test/java/io/opencensus/exporter/stats/signalfx/ |
D | SignalFxStatsExporterWorkerThreadTest.java | 40 import io.opencensus.stats.ViewData; 124 ViewData viewData = Mockito.mock(ViewData.class); in setsDatapointsFromViewOnSession()
|
/external/opencensus-java/contrib/grpc_metrics/src/test/java/io/opencensus/contrib/grpc/metrics/ |
D | RpcViewsTest.java | 24 import io.opencensus.stats.ViewData; 108 public ViewData getView(View.Name view) { in getView()
|
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/helloworld/ |
D | QuickStart.java | 27 import io.opencensus.stats.ViewData; 107 ViewData viewData = viewManager.getView(VIDEO_SIZE_VIEW_NAME); in main()
|