Searched refs:MetricService (Results 1 – 11 of 11) sorted by relevance
/external/pigweed/pw_metric/py/ |
D | metric_parser_test.py | 46 self.rpcs.pw.metric.proto.MetricService = mock.Mock() 47 self.rpcs.pw.metric.proto.MetricService.Get = mock.Mock() 48 self.rpcs.pw.metric.proto.MetricService.Get.return_value = mock.Mock() 49 self.rpcs.pw.metric.proto.MetricService.Get.return_value.status = ( 80 self.rpcs.pw.metric.proto.MetricService.Get.return_value.status = ( 92 self.rpcs.pw.metric.proto.MetricService.Get.return_value.responses = [ 116 self.rpcs.pw.metric.proto.MetricService.Get.return_value.responses = [ 140 self.rpcs.pw.metric.proto.MetricService.Get.return_value.responses = [ 165 self.rpcs.pw.metric.proto.MetricService.Get.return_value.responses = [ 197 self.rpcs.pw.metric.proto.MetricService.Get.return_value.responses = [ [all …]
|
/external/pigweed/pw_metric/ |
D | metric_service_pwpb_test.cc | 29 PW_PWPB_TEST_METHOD_CONTEXT(MetricService, Get, 4, 256) 77 TEST(MetricService, EmptyGroupAndNoMetrics) { in TEST() argument 83 PW_RAW_TEST_METHOD_CONTEXT(MetricService, Get) in TEST() 93 TEST(MetricService, OneGroupOneMetric) { in TEST() argument 100 PW_RAW_TEST_METHOD_CONTEXT(MetricService, Get) in TEST() 113 TEST(MetricService, OneGroupFiveMetrics) { in TEST() argument 124 PW_RAW_TEST_METHOD_CONTEXT(MetricService, Get) in TEST() 141 TEST(MetricService, NestedGroupFiveMetrics) { in TEST() argument 156 PW_RAW_TEST_METHOD_CONTEXT(MetricService, Get) in TEST() 172 TEST(MetricService, NestedGroupsWithBatches) { in TEST() argument [all …]
|
D | metric_service_nanopb_test.cc | 25 PW_NANOPB_TEST_METHOD_CONTEXT(MetricService, Get, 4, 256) 27 TEST(MetricService, EmptyGroupAndNoMetrics) { in TEST() argument 41 TEST(MetricService, FlatMetricsNoGroupsOneResponseOnly) { in TEST() argument 61 TEST(MetricService, NestedGroupsButOnlyOneBatch) { in TEST() argument 86 TEST(MetricService, NestedGroupsWithBatches) { in TEST() argument 153 TEST(MetricService, TokenPaths) { in TEST() argument
|
D | metric_service_nanopb.cc | 32 MetricService::ServerWriter<pw_metric_proto_MetricResponse>& in NanopbMetricWriter() 88 MetricService::ServerWriter<pw_metric_proto_MetricResponse>& response_writer_; 93 void MetricService::Get( in Get()
|
D | metric_service_pwpb.cc | 94 void MetricService::Get(ConstByteSpan /*request*/, in Get()
|
D | docs.rst | 642 The metrics are fetched by calling the ``MetricService.Get`` RPC method, which 665 To expose a ``MetricService`` in your application, do the following: 670 2. Create an instance of ``pw::metric::MetricService``. 690 pw::metric::MetricService metric_service( 717 **MetricService::Get is a synchronous RPC method** 719 Calls to is ``MetricService::Get`` are blocking and will send all metrics
|
/external/pigweed/pw_metric/public/pw_metric/ |
D | metric_service_nanopb.h | 34 class MetricService final 35 : public proto::pw_rpc::nanopb::MetricService::Service<MetricService> { 37 MetricService(const IntrusiveList<Metric>& metrics, in MetricService() function
|
D | metric_service_pwpb.h | 36 class MetricService final 37 : public proto::pw_rpc::raw::MetricService::Service<MetricService> { 39 MetricService(const IntrusiveList<Metric>& metrics, in MetricService() function
|
/external/pigweed/pw_system/ |
D | init.cc | 35 metric::MetricService metric_service(metric::global_metrics,
|
/external/pigweed/pw_metric/py/pw_metric/ |
D | metric_parser.py | 56 stream_response = rpcs.pw.metric.proto.MetricService.Get(
|
/external/pigweed/pw_metric/pw_metric_proto/ |
D | metric_service.proto | 68 service MetricService { service
|