Top
Enterprise Postgres 18 for Kubernetes User's Guide

4.5.2 FEPCluster Configuration

Add the following settings to the FEPClusterCR and deploy it.

Example of FEPClusterCR definition

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

If spec.fep.externalMonitoring.cloudWatch.enable is true, FEP metrics are forwarded to CloudWatch as defined by spec.fep.externalMonitoring.cloudWatch.schedule.

This feature collects and transfers metrics from all FEPCluster Pods. When transferring metrics, the dimension name is specified as instance, and the value is specified as <kubernetesNamespace>-<FEP Pod name>. If you want to define additional dimensions, specify the dimensionName and dimensionValue under spec.fep.externalMonitoring.cloudWatch.

For information about the parameters under spec.fep.externalMonitoring, refer to "FEPCluster Parameter" in the Reference.