/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/ |
D | MetricDescriptorTest.java | 23 import io.opencensus.metrics.export.MetricDescriptor.Type; 48 MetricDescriptor metricDescriptor = in testGet() 49 MetricDescriptor.create( in testGet() 62 MetricDescriptor.create(METRIC_NAME_1, DESCRIPTION, UNIT, Type.GAUGE_DOUBLE, null); in preventNullLabelKeyList() 70 MetricDescriptor.create(METRIC_NAME_1, DESCRIPTION, UNIT, Type.GAUGE_DOUBLE, keys); in preventNullLabelKey() 77 MetricDescriptor.create( in testEquals() 79 MetricDescriptor.create( in testEquals() 82 MetricDescriptor.create( in testEquals() 85 MetricDescriptor.create( in testEquals() 88 MetricDescriptor.create( in testEquals() [all …]
|
D | MetricTest.java | 25 import io.opencensus.metrics.export.MetricDescriptor.Type; 48 private static final MetricDescriptor METRIC_DESCRIPTOR_1 = 49 MetricDescriptor.create( 51 private static final MetricDescriptor METRIC_DESCRIPTOR_2 = 52 MetricDescriptor.create( 109 MetricDescriptor metricDescriptor, List<TimeSeries> timeSeriesList, String errorMessage) { in typeMismatch()
|
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExportUtils.java | 27 import com.google.api.MetricDescriptor; 28 import com.google.api.MetricDescriptor.MetricKind; 94 private static final Function<Object, MetricDescriptor.ValueType> VALUE_TYPE_DOUBLE_FUNCTION = 95 Functions.returnConstant(MetricDescriptor.ValueType.DOUBLE); 96 private static final Function<Object, MetricDescriptor.ValueType> VALUE_TYPE_INT64_FUNCTION = 97 Functions.returnConstant(MetricDescriptor.ValueType.INT64); 98 private static final Function<Object, MetricDescriptor.ValueType> 100 Functions.returnConstant(MetricDescriptor.ValueType.UNRECOGNIZED); 101 private static final Function<Object, MetricDescriptor.ValueType> 103 Functions.returnConstant(MetricDescriptor.ValueType.DISTRIBUTION); [all …]
|
D | StackdriverExporterWorker.java | 19 import com.google.api.MetricDescriptor; 135 MetricDescriptor metricDescriptor = in registerView()
|
/external/opencensus-java/contrib/dropwizard/src/main/java/io/opencensus/contrib/dropwizard/ |
D | DropWizardMetrics.java | 32 import io.opencensus.metrics.export.MetricDescriptor; 33 import io.opencensus.metrics.export.MetricDescriptor.Type; 104 MetricDescriptor metricDescriptor = in collectGauge() 105 MetricDescriptor.create( in collectGauge() 125 MetricDescriptor metricDescriptor = in collectCounter() 126 MetricDescriptor.create( in collectCounter() 151 MetricDescriptor metricDescriptor = in collectMeter() 152 MetricDescriptor.create( in collectMeter() 223 MetricDescriptor metricDescriptor = in collectSnapshotAndCount() 224 MetricDescriptor.create( in collectSnapshotAndCount()
|
/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() 67 MetricDescriptor metricDescriptor, TimeSeries timeSeries) { in createWithOneTimeSeries() 81 MetricDescriptor metricDescriptor, List<TimeSeries> timeSeriesList) { in createInternal() 93 public abstract MetricDescriptor getMetricDescriptor(); in getMetricDescriptor() 105 private static void checkTypeMatch(MetricDescriptor.Type type, List<TimeSeries> timeSeriesList) { in checkTypeMatch()
|
D | MetricDescriptor.java | 36 public abstract class MetricDescriptor { class 38 MetricDescriptor() {} in MetricDescriptor() method in MetricDescriptor 51 public static MetricDescriptor create( in create()
|
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExportUtilsTest.java | 28 import com.google.api.MetricDescriptor; 29 import com.google.api.MetricDescriptor.MetricKind; 138 .isEqualTo(MetricDescriptor.ValueType.DOUBLE); in createValueType() 140 .isEqualTo(MetricDescriptor.ValueType.INT64); in createValueType() 142 .isEqualTo(MetricDescriptor.ValueType.INT64); in createValueType() 144 .isEqualTo(MetricDescriptor.ValueType.INT64); in createValueType() 146 .isEqualTo(MetricDescriptor.ValueType.DOUBLE); in createValueType() 148 .isEqualTo(MetricDescriptor.ValueType.DOUBLE); in createValueType() 150 .isEqualTo(MetricDescriptor.ValueType.DISTRIBUTION); in createValueType() 152 .isEqualTo(MetricDescriptor.ValueType.DISTRIBUTION); in createValueType() [all …]
|
D | StackdriverExporterWorkerTest.java | 29 import com.google.api.MetricDescriptor; 92 private UnaryCallable<CreateMetricDescriptorRequest, MetricDescriptor> 143 MetricDescriptor descriptor = in export()
|
/external/opencensus-java/contrib/dropwizard/src/test/java/io/opencensus/contrib/dropwizard/ |
D | DropWizardMetricsTest.java | 30 import io.opencensus.metrics.export.MetricDescriptor; 31 import io.opencensus.metrics.export.MetricDescriptor.Type; 129 MetricDescriptor.create( in collect() 145 MetricDescriptor.create( in collect() 161 MetricDescriptor.create( in collect() 177 MetricDescriptor.create( in collect() 193 MetricDescriptor.create( in collect() 209 MetricDescriptor.create( in collect() 225 MetricDescriptor.create( in collect() 241 MetricDescriptor.create( in collect() [all …]
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/ |
D | MetricRegistryImplTest.java | 33 import io.opencensus.metrics.export.MetricDescriptor; 34 import io.opencensus.metrics.export.MetricDescriptor.Type; 68 private static final MetricDescriptor LONG_METRIC_DESCRIPTOR = 69 MetricDescriptor.create(NAME, DESCRIPTION, UNIT, Type.GAUGE_INT64, LABEL_KEY); 70 private static final MetricDescriptor DOUBLE_METRIC_DESCRIPTOR = 71 MetricDescriptor.create(NAME_2, DESCRIPTION, UNIT, Type.GAUGE_DOUBLE, LABEL_KEY); 72 private static final MetricDescriptor DERIVED_LONG_METRIC_DESCRIPTOR = 73 MetricDescriptor.create(NAME_3, DESCRIPTION, UNIT, Type.GAUGE_INT64, LABEL_KEY); 74 private static final MetricDescriptor DERIVED_DOUBLE_METRIC_DESCRIPTOR = 75 MetricDescriptor.create(NAME_4, DESCRIPTION, UNIT, Type.GAUGE_DOUBLE, LABEL_KEY);
|
D | DerivedDoubleGaugeImplTest.java | 26 import io.opencensus.metrics.export.MetricDescriptor; 27 import io.opencensus.metrics.export.MetricDescriptor.Type; 58 private static final MetricDescriptor METRIC_DESCRIPTOR = 59 MetricDescriptor.create(
|
D | DerivedLongGaugeImplTest.java | 26 import io.opencensus.metrics.export.MetricDescriptor; 27 import io.opencensus.metrics.export.MetricDescriptor.Type; 60 private static final MetricDescriptor METRIC_DESCRIPTOR = 61 MetricDescriptor.create(
|
D | LongGaugeImplTest.java | 28 import io.opencensus.metrics.export.MetricDescriptor; 29 import io.opencensus.metrics.export.MetricDescriptor.Type; 63 private static final MetricDescriptor METRIC_DESCRIPTOR = 64 MetricDescriptor.create(
|
D | DoubleGaugeImplTest.java | 28 import io.opencensus.metrics.export.MetricDescriptor; 29 import io.opencensus.metrics.export.MetricDescriptor.Type; 63 private static final MetricDescriptor METRIC_DESCRIPTOR = 64 MetricDescriptor.create(
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/ |
D | MetricUtils.java | 24 import io.opencensus.metrics.export.MetricDescriptor; 25 import io.opencensus.metrics.export.MetricDescriptor.Type; 43 static MetricDescriptor viewToMetricDescriptor(View view) { in viewToMetricDescriptor() 54 return MetricDescriptor.create( in viewToMetricDescriptor()
|
D | MutableViewData.java | 37 import io.opencensus.metrics.export.MetricDescriptor; 38 import io.opencensus.metrics.export.MetricDescriptor.Type; 114 private final MetricDescriptor metricDescriptor; 119 MetricDescriptor metricDescriptor = MetricUtils.viewToMetricDescriptor(view); in CumulativeMutableViewData()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/metrics/ |
D | DerivedDoubleGaugeImpl.java | 29 import io.opencensus.metrics.export.MetricDescriptor; 30 import io.opencensus.metrics.export.MetricDescriptor.Type; 47 private final MetricDescriptor metricDescriptor; 57 MetricDescriptor.create(name, description, unit, Type.GAUGE_DOUBLE, labelKeys); in DerivedDoubleGaugeImpl()
|
D | DerivedLongGaugeImpl.java | 29 import io.opencensus.metrics.export.MetricDescriptor; 30 import io.opencensus.metrics.export.MetricDescriptor.Type; 47 private final MetricDescriptor metricDescriptor; 57 MetricDescriptor.create(name, description, unit, Type.GAUGE_INT64, labelKeys); in DerivedLongGaugeImpl()
|
D | LongGaugeImpl.java | 29 import io.opencensus.metrics.export.MetricDescriptor; 30 import io.opencensus.metrics.export.MetricDescriptor.Type; 46 private final MetricDescriptor metricDescriptor; 55 MetricDescriptor.create(name, description, unit, Type.GAUGE_INT64, labelKeys); in LongGaugeImpl()
|
D | DoubleGaugeImpl.java | 30 import io.opencensus.metrics.export.MetricDescriptor; 31 import io.opencensus.metrics.export.MetricDescriptor.Type; 46 private final MetricDescriptor metricDescriptor; 55 MetricDescriptor.create(name, description, unit, Type.GAUGE_DOUBLE, labelKeys); in DoubleGaugeImpl()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | MetricUtilsTest.java | 25 import io.opencensus.metrics.export.MetricDescriptor; 26 import io.opencensus.metrics.export.MetricDescriptor.Type; 89 MetricDescriptor metricDescriptor = MetricUtils.viewToMetricDescriptor(VIEW_1); in viewToMetricDescriptor() 100 MetricDescriptor metricDescriptor = MetricUtils.viewToMetricDescriptor(VIEW_2); in viewToMetricDescriptor_NoIntervalViews()
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | collected_metrics.h | 58 struct MetricDescriptor { struct 147 std::map<string, std::unique_ptr<MetricDescriptor>> metric_descriptor_map;
|
D | collection_registry_test.cc | 108 const MetricDescriptor& ld = *collected_metrics->metric_descriptor_map.at( in TEST() 118 const MetricDescriptor& ud = *collected_metrics->metric_descriptor_map.at( in TEST() 198 const MetricDescriptor& ld = *collected_metrics->metric_descriptor_map.at( in TEST() 208 const MetricDescriptor& ud = *collected_metrics->metric_descriptor_map.at( in TEST() 304 const MetricDescriptor& ld = *collected_metrics->metric_descriptor_map.at( in TEST() 314 const MetricDescriptor& ud = *collected_metrics->metric_descriptor_map.at( in TEST()
|
D | collection_registry.cc | 42 std::unique_ptr<MetricDescriptor>(new MetricDescriptor()))) in CollectMetricDescriptor()
|