Documentation ¶
Index ¶
- type SourceStat
- func (ss *SourceStat) Report(s stats.Stats)
- func (ss *SourceStat) RequestDropped()
- func (ss *SourceStat) RequestEventsFailed(num int, reason string)
- func (ss *SourceStat) RequestEventsSucceeded(num int)
- func (ss *SourceStat) RequestFailed(reason string)
- func (ss *SourceStat) RequestSucceeded()
- func (ss *SourceStat) RequestSuppressed()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SourceStat ¶
type SourceStat struct { Source string WriteKey string ReqType string SourceID string WorkspaceID string SourceType string Version string // contains filtered or unexported fields }
func (*SourceStat) RequestDropped ¶
func (ss *SourceStat) RequestDropped()
RequestDropped increments the requests total & dropped counters by one
func (*SourceStat) RequestEventsFailed ¶
func (ss *SourceStat) RequestEventsFailed(num int, reason string)
RequestEventsSucceeded increments the requests total & failed counters by one, and the events total & failed counters by num
func (*SourceStat) RequestEventsSucceeded ¶
func (ss *SourceStat) RequestEventsSucceeded(num int)
RequestEventsSucceeded increments the requests total & succeeded counters by one, and the events total & succeeded counters by num
func (*SourceStat) RequestFailed ¶
func (ss *SourceStat) RequestFailed(reason string)
RequestFailed increments the requests total & failed counters by one
func (*SourceStat) RequestSucceeded ¶
func (ss *SourceStat) RequestSucceeded()
RequestSucceeded increments the requests total & succeeded counters by one
func (*SourceStat) RequestSuppressed ¶
func (ss *SourceStat) RequestSuppressed()
RequestSuppressed increments the requests total & suppressed counters by one
Click to show internal directories.
Click to hide internal directories.