Documentation ¶
Index ¶
- func EvaluateConnectionError(err error)
- func Init(awsConfig *aws.Config, s *session.Session, resourceARN string, noMetadata bool)
- type Telemetry
- func (t *Telemetry) Connection4xx(count int64)
- func (t *Telemetry) Connection5xx(count int64)
- func (t *Telemetry) ConnectionOther(count int64)
- func (t *Telemetry) ConnectionRefusal(count int64)
- func (t *Telemetry) ConnectionTimeout(count int64)
- func (t *Telemetry) ConnectionUnknownHost(count int64)
- func (t *Telemetry) SegmentReceived(count int64)
- func (t *Telemetry) SegmentRejected(count int64)
- func (t *Telemetry) SegmentSent(count int64)
- func (t *Telemetry) SegmentSpillover(count int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Telemetry ¶
type Telemetry struct { // Boolean channel, set to true when Quit channel is set to true. Done chan bool // Boolean channel, set to true when daemon is closed, Quit chan bool // contains filtered or unexported fields }
Telemetry is used to record X-Ray daemon health.
var T *Telemetry
T is instance of Telemetry.
func GetTestTelemetry ¶
func GetTestTelemetry() *Telemetry
GetTestTelemetry returns an empty telemetry record.
func (*Telemetry) Connection4xx ¶
Connection4xx increments HTTPCode4XXCount for the Telemetry record.
func (*Telemetry) Connection5xx ¶
Connection5xx increments HTTPCode5XXCount count for the Telemetry record.
func (*Telemetry) ConnectionOther ¶
ConnectionOther increments other BackendConnectionErrors count for the Telemetry record.
func (*Telemetry) ConnectionRefusal ¶
ConnectionRefusal increments ConnectionRefusedCount for the Telemetry record.
func (*Telemetry) ConnectionTimeout ¶
ConnectionTimeout increments TimeoutCount for the Telemetry record.
func (*Telemetry) ConnectionUnknownHost ¶
ConnectionUnknownHost increments unknown host BackendConnectionErrors count for the Telemetry record.
func (*Telemetry) SegmentReceived ¶
SegmentReceived increments SegmentsReceivedCount for the Telemetry record.
func (*Telemetry) SegmentRejected ¶
SegmentRejected increments SegmentsRejectedCount for the Telemetry record.
func (*Telemetry) SegmentSent ¶
SegmentSent increments SegmentsSentCount for the Telemetry record.