class ClearcutV1ShippingManager
Defined at line 250 of file ../../third_party/cobalt/src/uploader/shipping_manager.h
A concrete subclass of ShippingManager for sending data to Clearcut, which
is the backend used by Cobalt.
Note that by default no internal logging of uploaded bytes is performed.
You must call ResetInternalMetrics() to set up internal logging.
Public Methods
void ClearcutV1ShippingManager (const UploadScheduler & upload_scheduler, observation_store::ObservationStore & observation_store, util::EncryptedMessageMaker * encrypt_to_shuffler, util::EncryptedMessageMaker * encrypt_to_analyzer, std::unique_ptr<lib::clearcut::ClearcutUploaderInterface> clearcut, DiagnosticsInterface * diagnostics, cobalt::clearcut_protos::LogSourceEnum::LogSource log_source_id, size_t max_attempts_per_upload, std::string api_key)
void ResetInternalMetrics (logger::InternalMetrics * internal_metrics)
Resets the internal metrics for the ShippingManager and the ClearcutUploader to use the
provided logger.
void ~ClearcutV1ShippingManager ()
The destructor will stop the worker thread and wait for it to stop
before exiting.
Defined at line 265 of file ../../third_party/cobalt/src/uploader/shipping_manager.h
Impl impl ()
Defined at line 271 of file ../../third_party/cobalt/src/uploader/shipping_manager.h
const logger::InternalMetrics * internal_metrics ()
Defined at line 273 of file ../../third_party/cobalt/src/uploader/shipping_manager.h
const lib::clearcut::ClearcutUploaderInterface * clearcut_uploader ()
Defined at line 274 of file ../../third_party/cobalt/src/uploader/shipping_manager.h