Cookie の設定を選択する

当社は、当社のサイトおよびサービスを提供するために必要な必須 Cookie および類似のツールを使用しています。当社は、パフォーマンス Cookie を使用して匿名の統計情報を収集することで、お客様が当社のサイトをどのように利用しているかを把握し、改善に役立てています。必須 Cookie は無効化できませんが、[カスタマイズ] または [拒否] をクリックしてパフォーマンス Cookie を拒否することはできます。

お客様が同意した場合、AWS および承認された第三者は、Cookie を使用して便利なサイト機能を提供したり、お客様の選択を記憶したり、関連する広告を含む関連コンテンツを表示したりします。すべての必須ではない Cookie を受け入れるか拒否するには、[受け入れる] または [拒否] をクリックしてください。より詳細な選択を行うには、[カスタマイズ] をクリックしてください。

MetricDefinition

フォーカスモード
MetricDefinition - CloudWatch RUM
このページはお客様の言語に翻訳されていません。 翻訳のリクエスト

A structure that displays the definition of one extended metric that RUM sends to CloudWatch or CloudWatch Evidently. For more information, see Additional metrics that you can send to CloudWatch and CloudWatch Evidently.

Contents

MetricDefinitionId

The ID of this metric definition.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: Yes

Name

The name of the metric that is defined in this structure.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: Yes

DimensionKeys

This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch The value of this field is used only if the metric destination is CloudWatch. If the metric destination is Evidently, the value of DimensionKeys is ignored.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 29 items.

Key Length Constraints: Minimum length of 1. Maximum length of 280.

Value Length Constraints: Minimum length of 1. Maximum length of 255.

Value Pattern: ^(?!:).*[^\s].*

Required: No

EventPattern

The pattern that defines the metric. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.

If the metrics destination is CloudWatch and the event also matches a value in DimensionKeys, then the metric is published with the specified dimensions.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 4000.

Required: No

Namespace

If this metric definition is for a custom metric instead of an extended metric, this field displays the metric namespace that the custom metric is published to.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 237.

Pattern: [a-zA-Z0-9-._/#:]+$

Required: No

UnitLabel

Use this field only if you are sending this metric to CloudWatch. It defines the CloudWatch metric unit that this metric is measured in.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: No

ValueKey

The field within the event object that the metric value is sourced from.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 280.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

このページの内容

プライバシーサイト規約Cookie の設定
© 2025, Amazon Web Services, Inc. or its affiliates.All rights reserved.