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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-xray/types.rb

Overview

Note:

When making an API call, you may pass PutTelemetryRecordsRequest data as a 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)


1215
1216
1217
1218
1219
1220
1221
# File 'lib/aws-sdk-xray/types.rb', line 1215

class PutTelemetryRecordsRequest < Struct.new(
  :telemetry_records,
  :ec2_instance_id,
  :hostname,
  :resource_arn)
  include Aws::Structure
end

#hostnameString

Returns:

  • (String)


1215
1216
1217
1218
1219
1220
1221
# File 'lib/aws-sdk-xray/types.rb', line 1215

class PutTelemetryRecordsRequest < Struct.new(
  :telemetry_records,
  :ec2_instance_id,
  :hostname,
  :resource_arn)
  include Aws::Structure
end

#resource_arnString

Returns:

  • (String)


1215
1216
1217
1218
1219
1220
1221
# File 'lib/aws-sdk-xray/types.rb', line 1215

class PutTelemetryRecordsRequest < Struct.new(
  :telemetry_records,
  :ec2_instance_id,
  :hostname,
  :resource_arn)
  include Aws::Structure
end

#telemetry_recordsArray<Types::TelemetryRecord>

Returns:



1215
1216
1217
1218
1219
1220
1221
# File 'lib/aws-sdk-xray/types.rb', line 1215

class PutTelemetryRecordsRequest < Struct.new(
  :telemetry_records,
  :ec2_instance_id,
  :hostname,
  :resource_arn)
  include Aws::Structure
end