XRay / Client / put_telemetry_records

put_telemetry_records#

XRay.Client.put_telemetry_records(**kwargs)#

Used by the Amazon Web Services X-Ray daemon to upload telemetry.

See also: AWS API Documentation

Request Syntax

response = client.put_telemetry_records(
    TelemetryRecords=[
        {
            'Timestamp': datetime(2015, 1, 1),
            'SegmentsReceivedCount': 123,
            'SegmentsSentCount': 123,
            'SegmentsSpilloverCount': 123,
            'SegmentsRejectedCount': 123,
            'BackendConnectionErrors': {
                'TimeoutCount': 123,
                'ConnectionRefusedCount': 123,
                'HTTPCode4XXCount': 123,
                'HTTPCode5XXCount': 123,
                'UnknownHostCount': 123,
                'OtherCount': 123
            }
        },
    ],
    EC2InstanceId='string',
    Hostname='string',
    ResourceARN='string'
)
Parameters:
  • TelemetryRecords (list) –

    [REQUIRED]

    • (dict) –

      • Timestamp (datetime) – [REQUIRED]

      • SegmentsReceivedCount (integer) –

      • SegmentsSentCount (integer) –

      • SegmentsSpilloverCount (integer) –

      • SegmentsRejectedCount (integer) –

      • BackendConnectionErrors (dict) –

        • TimeoutCount (integer) –

        • ConnectionRefusedCount (integer) –

        • HTTPCode4XXCount (integer) –

        • HTTPCode5XXCount (integer) –

        • UnknownHostCount (integer) –

        • OtherCount (integer) –

  • EC2InstanceId (string) –

  • Hostname (string) –

  • ResourceARN (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions