BRIX On-Premises > BRIX On-Premises Enterprise > Administering BRIX Enterprise / Enable monitoring parameters in BRIX Enterprise

Enable monitoring parameters in BRIX Enterprise

The process of enabling monitoring for the BRIX application consists of three steps:

  1. Install monitoring tools.
  2. Make changes to the configuration file values-elma365.yaml.
  3. Apply monitoring parameters for BRIX Enterprise.

Step 1: Install monitoring tools

The installation of monitoring tools implies the deployment in the Kubernetes cluster of Prometheus for time series storage and Grafana for visualization. If you already have Prometheus and Grafana deployed, you can skip this step.

You can install monitoring tools in your Kubernetes cluster. For more details, see Install monitoring tools.

Step 2: Make changes to the configuration file values-elma365.yaml

Начало внимание

Changes are made to the existing configuration file, which was obtained and completed during the installation of BRIX. Unconsidered changes to parameters in this file can lead to the loss of functionality of the BRIX application. Before making changes to the file, we recommend creating a backup copy of it.

Конец внимание

Fill out the values-elma365.yaml configuration file to enable monitoring:

  1. To enable monitoring support, specify true in parameter global.monitoring.enabled.
  2. Enable the installation in the Kubernetes cluster of ServiceMonitor for BRIX application services by specifying true in parameter global.monitoring.metrics.enabled. By default, only the basic metrics of BRIX services are given. Providing all metrics is disabled to prevent the monitoring system from being overwhelmed by too many metrics. To enable the provision of a significantly larger number of metrics by the BRIX application services, specify true in parameter global.monitoring.metrics.all. Within the scope of this article, enabling the provision of all metrics is not required.
  3. If the Kubernetes cluster is deployed on the Deckhouse platform, set the value to deckhouse in parameter global.monitoring.provisioner. This will configure the supplied monitoring tools for the target platform.
  4. To install Dashboards (ConfigMap) in the Kubernetes cluster for BRIX application services, specify true in parameter global.monitoring.dashboard.enabled.
  5. If the installation of alerts is needed, set true for global.monitoring.alerts.enabled. This will start the installation of PrometheusRule (CRD) in the Kubernetes cluster for BRIX application services.
  6. To enable export of system performance metrics to the Prometheus storage for data visualization using Grafana, set true for global.monitoring.lowcode.metricExportEnabled.

global:
  ...
  monitoring:
    enabled: true
    metrics:
      enabled: true
      all: false
    provisioner: "k8s"
    dashboard:
      enabled: true
    alerts:
      enabled: false
...

Step 3: Apply monitoring parameters for BRIX Enterprise

Update the BRIX application parameters using the configuration file values-elma365.yaml. Updating the parameters takes 10-30 minutes. Please wait for the BRIX Enterprise application parameters to be updated.

Начало внимание

When updating parameters, you need to:

  1. Identify the version of the chart with which the BRIX application was installed or updated.
  2. Use the same version of the chart to apply new parameters to exclude any side effects of the update on the application's functionality.

Конец внимание

Online update

  1. Determine the version of the chart with which the BRIX application was installed:

helm show chart elma365/elma365

Example of command execution:

enable-monitoring-enterprise-1
The line version displays the chart version with which the BRIX application was installed. Next, you need to specify this value for the flag --version (replace <elma365-chart-version>).

  1. Update the parameters by specifying the installed version of the BRIX application and using the configuration file values-elma365.yaml:

helm upgrade --install elma365 elma365/elma365 -f values-elma365.yaml --version <elma365-chart-version> --timeout=30m --wait [-n namespace]

Offline update

Go to directory with downloaded BRIX chart and run the following command:

helm upgrade --install elma365 ./elma365 -f values-elma365.yaml --timeout=30m --wait [-n namespace]