VRS
A file format for sensor data.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
vrs::TrafficEvent Struct Reference

Telemetry event specialized to report cloud traffic. More...

#include <TelemetryLogger.h>

Public Member Functions

TrafficEventsetIsSuccess (bool success)
 
TrafficEventsetIsUpload ()
 
TrafficEventsetIsDownload ()
 
TrafficEventsetAttemptStartTime ()
 
TrafficEventsetTotalDurationMs (int64_t durationMs)
 
TrafficEventsetTransferDurationMs (int64_t aTransferDurationMs)
 
TrafficEventsetTransferOffset (size_t offset)
 
TrafficEventsetTransferRequestSize (size_t aTransferRequestSize)
 
TrafficEventsetTransferSize (size_t aTransferSize)
 
TrafficEventsetRetryCount (size_t aRetryCount)
 
TrafficEventsetError429Count (size_t anError429Count)
 
TrafficEventsetErrorCount (size_t anErrorCount)
 
TrafficEventsetHttpStatus (long status)
 
TrafficEventsetUrl (const string &aServerName)
 

Public Attributes

bool isSuccess = false
 
bool uploadNotDownload = false
 
int64_t transferStartTime = 0
 
int64_t totalDurationMs = -1
 
int64_t transferDurationMs = -1
 
size_t transferOffset = 0
 
size_t transferRequestSize = 0
 
size_t transferSize = 0
 
size_t retryCount = 0
 
size_t errorCount = 0
 
size_t error429Count = 0
 
long httpStatus = -1
 
string serverName
 

Detailed Description

Telemetry event specialized to report cloud traffic.

A key goal of telemetry is to monitor traffic to cloud storage solutions, so we can measure resource usage and detect excessive traffic. This requires logging every network transaction, as opposed to sparse events, giving leverage to custom implementation optimizations not possible with a generic event.


The documentation for this struct was generated from the following files: