Class: Aws::XRay::Types::PutTelemetryRecordsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::XRay::Types::PutTelemetryRecordsRequest
- 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
- #ec2_instance_id ⇒ String
- #hostname ⇒ String
- #resource_arn ⇒ String
- #telemetry_records ⇒ Array<Types::TelemetryRecord>
Instance Attribute Details
#ec2_instance_id ⇒ 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 |
#hostname ⇒ 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_arn ⇒ 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_records ⇒ Array<Types::TelemetryRecord>
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 |