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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-xray/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",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ec2_instance_idString

Returns:

  • (String)


1388
1389
1390
1391
1392
1393
1394
1395
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 1388

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

#hostnameString

Returns:

  • (String)


1388
1389
1390
1391
1392
1393
1394
1395
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 1388

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

#resource_arnString

Returns:

  • (String)


1388
1389
1390
1391
1392
1393
1394
1395
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 1388

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

#telemetry_recordsArray<Types::TelemetryRecord>

Returns:



1388
1389
1390
1391
1392
1393
1394
1395
# File 'gems/aws-sdk-xray/lib/aws-sdk-xray/types.rb', line 1388

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