Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndExportData ¶
func CreateAndExportData(li LMIngest)
CreateAndExportData creates and exports data (if batching is enabled) after batching interval expires
Types ¶
type DataPayload ¶
type DataPayload struct { MetricBodyList []model.MetricPayload MetricResourceCreateList []model.MetricPayload LogBodyList []model.LogPayload UpdatePropertiesBody model.UpdateProperties }
type LMIngest ¶
type LMIngest interface { BatchInterval() time.Duration URI() string CreateRequestBody() DataPayload ExportData(body DataPayload, uri, method string) error }
Click to show internal directories.
Click to hide internal directories.