Class CfnInferenceComponentPropsMixin.MetricsEndpointProperty
A metrics endpoint exposed by the container.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SageMaker
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnInferenceComponentPropsMixin.MetricsEndpointProperty : CfnInferenceComponentPropsMixin.IMetricsEndpointProperty
Syntax (vb)
Public Class CfnInferenceComponentPropsMixin.MetricsEndpointProperty Implements CfnInferenceComponentPropsMixin.IMetricsEndpointProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SageMaker;
var metricsEndpointProperty = new MetricsEndpointProperty {
MetricPublishFrequencyInSeconds = 123,
MetricsEndpointPath = "metricsEndpointPath"
};
Synopsis
Constructors
| MetricsEndpointProperty() | A metrics endpoint exposed by the container. |
Properties
| MetricPublishFrequencyInSeconds | The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch. |
| MetricsEndpointPath | The path to the Prometheus formatted metrics endpoint exposed by the container. |
Constructors
MetricsEndpointProperty()
A metrics endpoint exposed by the container.
public MetricsEndpointProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SageMaker;
var metricsEndpointProperty = new MetricsEndpointProperty {
MetricPublishFrequencyInSeconds = 123,
MetricsEndpointPath = "metricsEndpointPath"
};
Properties
MetricPublishFrequencyInSeconds
The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch.
public double? MetricPublishFrequencyInSeconds { get; set; }
Property Value
Remarks
Valid values per the SageMaker API Reference are 10, 30, 60, 120, 180, 240 and 300; the service validates the value.
MetricsEndpointPath
The path to the Prometheus formatted metrics endpoint exposed by the container.
public string? MetricsEndpointPath { get; set; }