Documentation ¶
Overview ¶
Packages exporting message samples for test purposes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MDTLoadMetrics ¶
func MDTLoadMetrics() string
func MDTSampleTelemetryTableIterate ¶
func MDTSampleTelemetryTableIterate( dbindex SampleTelemetryDatabaseID, fn MDTSampleCallback, c MDTContext) (applied int)
MDTSampleTelemetryTableIterate iterates over table of samples calling caller with function MDTSampleCallback and opaque context MDTContext provided, for every known sample. The number of samples iterated over is returned.
Types ¶
type MDTContext ¶
type MDTContext interface{}
type MDTSampleCallback ¶
type MDTSampleCallback func(sample *SampleTelemetryTableEntry, context MDTContext) (abort bool)
type SampleTelemetryDatabaseID ¶
type SampleTelemetryDatabaseID int
const (
SAMPLE_TELEMETRY_DATABASE_BASIC SampleTelemetryDatabaseID = iota
)
type SampleTelemetryTableEntry ¶
type SampleTelemetryTableEntry struct { Sample *telem.Telemetry SampleStreamGPB []byte SampleStreamJSON []byte SampleStreamJSONKV []byte Leaves int Events int }
func MDTSampleTelemetryTableFetchOne ¶
func MDTSampleTelemetryTableFetchOne( dbindex SampleTelemetryDatabaseID) *SampleTelemetryTableEntry
Click to show internal directories.
Click to hide internal directories.