Class: Aws::SageMaker::Types::TracingConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::TracingConfig
- Defined in:
- gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb
Overview
The Amazon CloudWatch tracing configuration of a SageMaker endpoint.
Traces include the request and response payloads, and SageMaker sends
them to the Amazon CloudWatch Logs log group
/aws/sagemaker/Endpoints/<endpoint-name>/traces.
You can't enable tracing together with data capture (EnableCapture
set to True in DataCaptureConfig), with serverless variants, or
with multi-model endpoints.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#enable_tracing ⇒ Boolean
Specifies whether tracing is enabled.
-
#initial_sampling_percentage ⇒ Integer
The percentage of inference requests to trace.
-
#kms_key_id ⇒ String
The ID or ARN of the Key Management Service key that SageMaker uses to encrypt the payloads that it delivers to
LargePayloadDeliveryS3Uri. -
#large_payload_delivery_s3_uri ⇒ String
The Amazon S3 URI that SageMaker delivers large request and response payloads of traced requests to.
Instance Attribute Details
#enable_tracing ⇒ Boolean
Specifies whether tracing is enabled. Set to true to send traces
to the log group. If you don't specify TracingConfig, tracing is
disabled.
59479 59480 59481 59482 59483 59484 59485 59486 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 59479 class TracingConfig < Struct.new( :enable_tracing, :initial_sampling_percentage, :large_payload_delivery_s3_uri, :kms_key_id) SENSITIVE = [] include Aws::Structure end |
#initial_sampling_percentage ⇒ Integer
The percentage of inference requests to trace. Valid values: 0 to
100. With 0, SageMaker traces no requests.
59479 59480 59481 59482 59483 59484 59485 59486 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 59479 class TracingConfig < Struct.new( :enable_tracing, :initial_sampling_percentage, :large_payload_delivery_s3_uri, :kms_key_id) SENSITIVE = [] include Aws::Structure end |
#kms_key_id ⇒ String
The ID or ARN of the Key Management Service key that SageMaker uses
to encrypt the payloads that it delivers to
LargePayloadDeliveryS3Uri. If you specify a key, you also need to
specify LargePayloadDeliveryS3Uri.
The KmsKeyId can be any of the following formats, in the
endpoint's Region:
Key ID – the unique identifier of the key
Key ARN – the Amazon Resource Name (ARN) of the key
Alias name – an alias for the key, starting with
alias/Alias ARN – the ARN of the alias
59479 59480 59481 59482 59483 59484 59485 59486 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 59479 class TracingConfig < Struct.new( :enable_tracing, :initial_sampling_percentage, :large_payload_delivery_s3_uri, :kms_key_id) SENSITIVE = [] include Aws::Structure end |
#large_payload_delivery_s3_uri ⇒ String
The Amazon S3 URI that SageMaker delivers large request and response payloads of traced requests to. SageMaker truncates payloads larger than 512 KiB in the trace and delivers the full payload to the specified S3 URI. If you don't specify one, only the truncated payload is available.
59479 59480 59481 59482 59483 59484 59485 59486 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 59479 class TracingConfig < Struct.new( :enable_tracing, :initial_sampling_percentage, :large_payload_delivery_s3_uri, :kms_key_id) SENSITIVE = [] include Aws::Structure end |