template <>
class WireSyncBufferClientImpl
Defined at line 1778 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_messaging.h
Public Methods
::fidl::WireUnownedResult< ::fuchsia_metrics::MetricEventLogger::LogOccurrence> LogOccurrence (uint32_t metric_id, uint64_t count, ::fidl::VectorView<uint32_t> event_codes)
Logs the fact that an event has occurred a number of times.
`metric_id` ID of the metric being logged.
`count` The number of times the event has occurred. The value should
be positive as a value of 0 is ignored.
`event_codes` Ordered list of parameters, one for each of the metric's
dimensions. Occurrence counts with the same event codes are aggregated
based on these parameters.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_metrics::MetricEventLogger::LogInteger> LogInteger (uint32_t metric_id, int64_t value, ::fidl::VectorView<uint32_t> event_codes)
Logs an integer measurement.
`metric_id` ID of the metric being logged.
`value` The integer measurement.
`event_codes` Ordered list of parameters, one for each of the metric's
dimensions. Integer values with the same event codes are aggregated
based on these parameters.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_metrics::MetricEventLogger::LogIntegerHistogram> LogIntegerHistogram (uint32_t metric_id, ::fidl::VectorView< ::fuchsia_metrics::wire::HistogramBucket> histogram, ::fidl::VectorView<uint32_t> event_codes)
Logs a histogram giving many approximate integer measurements.
`metric_id` ID of the metric being logged.
`histogram` The collection of approximate integer measurements. Buckets
that have no measurement (empty buckets) should not be sent.
`event_codes` Ordered list of parameters, one for each of the metric's
dimensions. Histograms with the same event codes are aggregated together
based on these parameters.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_metrics::MetricEventLogger::LogString> LogString (uint32_t metric_id, ::fidl::StringView string_value, ::fidl::VectorView<uint32_t> event_codes)
Logs a string value that was observed.
`metric_id` ID of the metric being logged.
`string_value` The string to log.
`event_codes` Ordered list of parameters, one for each of the metric's
dimensions. Counts of logged strings are aggregated separately based on
these parameters.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_metrics::MetricEventLogger::LogMetricEvents> LogMetricEvents (::fidl::VectorView< ::fuchsia_metrics::wire::MetricEvent> events)
Bulk logging method, equivalent to making many of the above Log*() calls
at once.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.