Skip to content

struct flake::ReportFill ​

Fill level of an object's pending report. More...

#include <platform/flake/Object.h>

Public Attributes ​

Name
uint32_tbytes
payload bytes pending
uint32_tsamples
values plus history samples pending
uint32_toldestTimestamp
earliest time in the report (Unix s), 0 if empty
uint8_tpercent
fill of the report storage, 0–100
uint32_tdroppedSamples
samples lost for lack of storage or encoding
uint32_tdroppedTimestamps
values that kept their value but lost their own time
uint32_tdroppedOversize
values larger than one datagram, never sendable
uint32_tcondensedSamples
samples left out on purpose by the history class

Detailed Description ​

cpp
struct flake::ReportFill;

Fill level of an object's pending report.

Everything [Object::flushReport](/embed/2.2.0/API/Classes/classflake_1_1Object.md#function-flushreport) would transmit: pending values, value history and per-value times. The loss counters only grow; they tell an integration that samples went missing and why, so it can report that instead of losing them silently.

Public Attributes Documentation ​

variable bytes ​

cpp
uint32_t flake::ReportFill::bytes

payload bytes pending

variable samples ​

cpp
uint32_t flake::ReportFill::samples

values plus history samples pending

variable oldestTimestamp ​

cpp
uint32_t flake::ReportFill::oldestTimestamp

earliest time in the report (Unix s), 0 if empty

variable percent ​

cpp
uint8_t flake::ReportFill::percent

fill of the report storage, 0–100

variable droppedSamples ​

cpp
uint32_t flake::ReportFill::droppedSamples

samples lost for lack of storage or encoding

variable droppedTimestamps ​

cpp
uint32_t flake::ReportFill::droppedTimestamps

values that kept their value but lost their own time

variable droppedOversize ​

cpp
uint32_t flake::ReportFill::droppedOversize

values larger than one datagram, never sendable

variable condensedSamples ​

cpp
uint32_t flake::ReportFill::condensedSamples

samples left out on purpose by the history class