class AggregateAndUpload
Defined at line 565 of file fidling/gen/sdk/fidl/fuchsia.cobalt/fuchsia.cobalt/hlcpp/fuchsia/cobalt/cpp/fidl.h
Locally aggregates all collected metrics and uploads generated
observations immediately. This is only to be used for Recovery, and
should only be called once per Recovery attempt.
If AggregateAndUpload completes, then the collected metrics were uploaded
to Cobalt successfully. Otherwise, AggregateAndUpload may continue to run
until the calling service cancels the process when long running operation
exceeds the specified timeout. The reason this may occur, is that
AggregateAndUpload has a retry policy, and will retry any failures until
the operation succeeds or is cancelled due to exceeding a specified
timeout.
Public Members
static const char[] Name_
Public Methods
void ~AggregateAndUpload ()
void AggregateAndUploadMetricEvents (AggregateAndUploadMetricEventsCallback callback)