There is a pre-requisitie for running FEPExporter.
GAP(Grafana, AlertManager, Prometheus) stack is installed on host OpenShift or Kubernetes cluster
FEPCluster that needs to be scraped is deployed and running properly
FEPCluster has following setting postgresql.conf:
pg_stats_statements library pre-loaded
track_activities and track_counts are turned on
For Prometheus and AlertManager, use the monitoring stack preinstalled on Openshift. Please refer to the following for deployment information.
(https://docs.openshift.com/container-platform/4.11/monitoring/monitoring-overview.html#understanding-the-monitoring-stack_monitoring-overview)
For Grafana, install and use the GrafanaOperator provided by OperatorHub.
Grafana comes pre-installed on OpenShift, but it is recommended to use Grafana published in OperatorHub to customize the dashboard and monitor FEP performance information.
You can also use the sample dashboards published below.
https://github.com/fujitsu/fep-operator-examples/blob/v4/Monitoring/dashboard/fep-dashboard.json