Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbsoluteEvent ¶
type AbsoluteEvent struct { IdempotencyKey string `json:"idempotency_key"` MetricName string `json:"metric"` Type string `json:"type"` TenantID string `json:"tenant_id"` TimelineID string `json:"timeline_id"` Time time.Time `json:"time"` Value int `json:"value"` }
func (*AbsoluteEvent) MarshalJSON ¶
func (e *AbsoluteEvent) MarshalJSON() ([]byte, error)
type Batch ¶
type Batch struct {
// contains filtered or unexported fields
}
func (*Batch) AddAbsoluteEvent ¶
func (b *Batch) AddAbsoluteEvent(e AbsoluteEvent)
func (*Batch) AddIncrementalEvent ¶
func (b *Batch) AddIncrementalEvent(e IncrementalEvent)
type IncrementalEvent ¶
type IncrementalEvent struct { IdempotencyKey string `json:"idempotency_key"` MetricName string `json:"metric"` Type string `json:"type"` EndpointID string `json:"endpoint_id"` StartTime time.Time `json:"start_time"` StopTime time.Time `json:"stop_time"` Value int `json:"value"` }
func (*IncrementalEvent) MarshalJSON ¶
func (e *IncrementalEvent) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.