interface MetricsEndpointProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SageMaker.CfnInferenceComponentPropsMixin.MetricsEndpointProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssagemaker#CfnInferenceComponentPropsMixin_MetricsEndpointProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceComponentPropsMixin.MetricsEndpointProperty |
Python | aws_cdk.cfn_property_mixins.aws_sagemaker.CfnInferenceComponentPropsMixin.MetricsEndpointProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sagemaker » CfnInferenceComponentPropsMixin » MetricsEndpointProperty |
A metrics endpoint exposed by the container.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from '@aws-cdk/cfn-property-mixins';
const metricsEndpointProperty: sagemaker.CfnInferenceComponentPropsMixin.MetricsEndpointProperty = {
metricPublishFrequencyInSeconds: 123,
metricsEndpointPath: 'metricsEndpointPath',
};
Properties
| Name | Type | Description |
|---|---|---|
| metric | number | The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch. |
| metrics | string | The path to the Prometheus formatted metrics endpoint exposed by the container. |
metricPublishFrequencyInSeconds?
Type:
number
(optional)
The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch.
Valid values per the SageMaker API Reference are 10, 30, 60, 120, 180, 240 and 300; the service validates the value.
metricsEndpointPath?
Type:
string
(optional)
The path to the Prometheus formatted metrics endpoint exposed by the container.

.NET
Go
Java
Python
TypeScript