Enabling usage reporting in the HM server Innovation Release
- Hybrid Manager dual release strategy
- Documentation for the current Long-term support release
The Hybrid Manager (HM) server transmits usage telemetry to EDB to automate your core-based licensing and entitlements. This ensures your environment stays compliant with provisioning limits without the need for manual audits or tracking. This reporting works for all on-premises servers, even if you are not using HM for active monitoring.
Usage reporting with the HM server is an opt-in service, hence it is not enabled by default. Data is only sent to EDB when you explicitly enable it. When enabled, the HM server sends a new report every 24 hours by default, starting with the first time the HM server runs.
What type of data is collected?
When configured to send usage data, the HM server generates a small report containing environment metadata and resource usage. This includes information such as:
- Operating system details
- Memory and CPU usage
- Installed database distribution (for example, PostgreSQL, EDB Postgres Advanced Server, EDB Postgres Extended Server) and version
Important
This report does not include sensitive data or user-identifiable information.
Where is the data sent to?
When configured, reporting data goes to https://hm-usage.enterprisedb.com, an EDB-managed endpoint.
How do I enable usage reporting with the HM server?
If you are using the Hybrid Manager, you can enable reporting as part of your HM server's configuration. See Enabling HM server usage reporting.
If you have a standalone deployment of a database server (PostgreSQL, EPAS, PGE) and you don't wish to use HM, see Enabling usage reporting for standalone databases.
If you are operating in an air-gapped environment, you can create a usage report as a JSON file within the EDB Postgres AI agent's configuration page and upload it through the option PGAI Agent Reporting under the Tools section in the left side pane of the EDB Customer Portal.
Enabling HM server usage reporting
You can enable usage reporting for HM via the following methods:
Enable HM server usage reporting through the operator
To enable telemetry and server metrics collection, you must configure the HybridControlPlane custom resource with your specific company and installation details.
Requirements
- Access to the cluster where the operator is installed.
- Your unique company code is provided by the administrator.
Enable usage reporting (operator)
Open the
HybridControlPlaneresource for editing, usingkubectlto edit your existing control plane configuration:kubectl edit hybridcontrolplane <resource-name> -n <namespace>
Under the
specsection, ensure theglobalParametersblock includes your company code:spec: globalParameters: company_code: "YOUR_COMPANY_CODE"Add the
enableEDBUsageReportingandhybridManagerInstallationfields to thebeaconServersection:spec: beaconServer: enableEDBUsageReporting: true hybridManagerInstallation: <install-name>Force a reconciliation by annotating the resource:
kubectl annotate hybridcontrolplane <resource-name> --overwrite edbpgai.com/ready-for-upgrade=true
Once
HybridControlPlaneresource finishes reconciling and is in a healthy state, HM server will begin initializing the telemetry services.Important
- If
enableEDBUsageReportingis set tofalse, usage data is not collected or sent to EDB. - If
enableEDBUsageReportingis set to true, the fieldscompany_codeandhybridManagerInstallationare required. If either field is missing, the HM custom resource moves to a failure state and returns an error indicating that these fields are required when usage reporting is enabled.
- If
Enable HM server usage reporting through the Helm chart
To enable telemetry and server metrics collection during a Helm deployment, you must define the global company identity and the Beacon Server status in your configuration.
Requirements
- A functional Helm environment.
- Your unique company code is provided by the administrator.
Enable usage reporting (Helm)
Locate your
values.yamlconfiguration file used for your specific deployment.Under the
parameters.globalsection, add your company code:parameters: global: company_code: "YOUR_COMPANY_CODE"
Enable server metrics collection by setting
enableEDBUsageReportingtotrueandhybridManagerInstallationto<install-name>:beaconServer: enableEDBUsageReporting: true hybridManagerInstallation: <install-name>
For first-time installations, apply the changes:
helm install <release-name> <chart-path> -f values.yaml
For updating an existing installation, run the
helm upgradecommand:helm upgrade <release-name> <chart-path> -f values.yaml
Important
- If
enableEDBUsageReportingis set tofalse, usage data is not collected or sent to EDB. - If
enableEDBUsageReportingis set totrue, the fieldscompany_codeandhybridManagerInstallationare required. Helm fails with an error if either value is missing while usage reporting is enabled.