FEPClusterCRに以下の設定を追加し、配備してください。
spec.fep.externalMonitoring.cloudWatch: メトリクスの転送に関する定義
spec.fep.externalMonitoring.cloudWatch.authentication: CloudWatchへの認証情報に関する定義
FEPClusterCRの定義例
spec: fep: externalMonitoring: cloudWatch: enable: true schedule: "0-59/10 * * * *" namespace:FEP_METRICS customMetrics: - config-map-query authentication: cloudWatchCredentials: my-aws-credentials cloudWatchConfig: my-aws-config
spec.fep.externalMonitoring.cloudWatch.enableがtrueの場合、spec.fep.externalMonitoring.cloudWatch.scheduleの定義に従って、FEPのメトリクスがCloudWatchへ転送されます。
本機能ではすべてのFEPClusterのPodでメトリクスを取得し転送します。メトリクスを転送する際には、Dimensionの名前にinstance、値に<kubernetesのNamespace>-<FEPのPod名>が指定されます。追加のDimensionを定義する場合は、spec.fep.externalMonitoring.cloudWatch配下のdimensionNameとdimensionValueを指定してください。
spec.fep.externalMonitoring配下のパラメータについては、“オペレーターリファレンス”の“FEPClusterパラメータ”を参照してください。