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 (PerProjectBytesUploadedMigratedMetricDimensionStatus upload_status, size_t byte_count, const lib::ProjectIdentifier & project_identifier)
void BytesStored (PerProjectBytesStoredMigratedMetricDimensionStatus upload_status, size_t byte_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 (StorageClass storage_class, size_t bytes, int64_t max_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 ()