class InternalMetricsImpl
Defined at line 178 of file ../../third_party/cobalt/src/logger/internal_metrics.h
InternalMetricsImpl is the actual implementation of InternalMetrics. It is a wrapper around the
LoggerInterface that was provided to the Logger constructor.
Public Methods
void InternalMetricsImpl (LoggerInterface & logger, DiagnosticsInterface * diagnostics)
void LoggerCalled (LoggerCallsMadeMigratedMetricDimensionLoggerMethod method, const Project & project)
void BytesUploaded (BytesUploadedMetricDimensionStatus upload_status, size_t byte_count)
void BytesUploaded (PerProjectBytesUploadedMigratedMetricDimensionStatusupload_status,size_tbyte_count,const lib::ProjectIdentifier &project_identifier)
void BytesStored (PerProjectBytesStoredMigratedMetricDimensionStatusupload_status,size_tbyte_count,const lib::ProjectIdentifier &project_identifier)
void InaccurateClockEventsCached (int64_t event_count)
void InaccurateClockEventsDropped (int64_t event_count)
void SetSoftwareDistributionInfoCalled (SetSoftwareDistributionInfoCalledMigratedEventCodes event_codes)
void TrackDiskUsage (StorageClassstorage_class,size_tbytes,int64_tmax_bytes)
void LocalAggregationQuotaEvent (const lib::ProjectIdentifier & project_identifier, int event_type)
bool IsRealImpl ()
Defined at line 210 of file ../../third_party/cobalt/src/logger/internal_metrics.h
void ~InternalMetricsImpl ()
Defined at line 212 of file ../../third_party/cobalt/src/logger/internal_metrics.h
Protected Methods
void Flush ()
void IncrementFlushers ()