You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::XRay::Types::PutTelemetryRecordsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutTelemetryRecordsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  telemetry_records: [ # required
    {
      timestamp: Time.now, # required
      segments_received_count: 1,
      segments_sent_count: 1,
      segments_spillover_count: 1,
      segments_rejected_count: 1,
      backend_connection_errors: {
        timeout_count: 1,
        connection_refused_count: 1,
        http_code_4_xx_count: 1,
        http_code_5_xx_count: 1,
        unknown_host_count: 1,
        other_count: 1,
      },
    },
  ],
  ec2_instance_id: "EC2InstanceId",
  hostname: "Hostname",
  resource_arn: "ResourceARN",
}

Instance Attribute Summary collapse

Instance Attribute Details

#ec2_instance_idString

Returns:

  • (String)

#hostnameString

Returns:

  • (String)

#resource_arnString

Returns:

  • (String)

#telemetry_recordsArray<Types::TelemetryRecord>

Returns: