This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::SageMaker::InferenceComponent MetricsEndpoint
Specifies a metrics endpoint for a container, including the path where the container exposes Prometheus-formatted metrics and the frequency at which to publish them to Amazon CloudWatch.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "MetricPublishFrequencyInSeconds" :Integer, "MetricsEndpointPath" :String}
YAML
MetricPublishFrequencyInSeconds:IntegerMetricsEndpointPath:String
Properties
MetricPublishFrequencyInSeconds-
The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch. Valid values:
10,30,60,120,180,240,300. Defaults to60.Required: No
Type: Integer
Minimum:
10Maximum:
300Update requires: No interruption
MetricsEndpointPath-
The path to the metrics endpoint exposed by the container. For example,
/metricsor/server/metrics. The path must start with/and can contain alphanumeric characters, forward slashes, underscores, hyphens, and periods. Maximum length is 256 characters. If not specified, defaults to/metrics.Required: Yes
Type: String
Pattern:
^/(?!.*\.\.)[a-zA-Z0-9/_.\-]+$Maximum:
256Update requires: No interruption