Skip to content

Configure

The Settings page is where you configure PMM.

Open the Settings page from the main menu with Configuration Settings. The page opens with the Metrics Resolution settings tab selected.

!image

On the left are the selector tabs:

Tip

Click Apply changes to save any changes made here.

Metrics resolution

Metrics are collected at three intervals representing low, medium and high resolutions.

The Metrics Resolution settings tab contains a radio button with three fixed presets (Rare, Standard and Frequent) and one editable custom preset (Custom).

!image

Each preset is a group of low, medium and high resolutions. The values are in seconds.

Time intervals and resolutions

Short time intervals are high resolution metrics. Longer time intervals are low resolution. So:

  • A low-resolution interval increases the time between collection, resulting in low-resolution metrics and lower disk usage.
  • A high-resolution interval decreases the time between collection, resulting in high-resolution metrics and higher disk usage.

The default values (in seconds) for the fixed presets and their resolution names are:

Editable? Preset Low Medium High
No Rare 300 180 60
No Standard 60 10 5
No Frequent 30 5 1
Yes Custom (defaults) 60 10 5

Values for the Custom preset can be entered as values, or changed with the arrows.

If there is poor network connectivity between PMM Server and PMM Client, or between PMM Client and the database server being monitored, scraping every second may not be possible when the network latency is greater than 1 second.

Advanced Settings

!

Data Retention

Data retention specifies how long data is stored by PMM Server. By default, time-series data is stored for 30 days. You can adjust the data retention time to balance your system’s available disk space with your metrics history requirements.

Telemetry

The Telemetry switch enables gathering and sending basic anonymous data to Percona, which helps us to determine where to focus the development and what is the uptake for each release of PMM. Specifically, gathering this information helps determine if we need to release patches to legacy versions beyond support, determine when supporting a particular version is no longer necessary, and understand the best frequency of releases.

PMM Telemetry is based on data collected by various PMM components and stored inside PMM server

When PMM is installed, telemetry is not sent immediately. Before the first telemetry report is generated, PMM provides users with a 24-hour grace period to disable telemetry.

To see the metrics being collected by telemetry, from the main menu navigate to ConfigurationSettingsAdvanced SettingsTelemetry and hover over the exclamation mark.

!image

We do not gather anything that can identify your system, but consider the following:

  1. The Country Code is evaluated from the submitting IP address before being discarded.

  2. We do create an “instance ID” - a random string generated using UUID v4. This instance ID is generated to distinguish new instances from existing ones, for figuring out instance upgrades.

The first telemetry reporting of a new PMM Server instance is delayed by 24 hours to allow enough time to disable the service for those that do not wish to share any information.

The landing page for this service, check.percona.com, explains what this service is.

Grafana’s anonymous usage statistics is not managed by PMM. To activate it, you must change the PMM Server container configuration after each update.

As well as via the PMM Settings page, you can also disable telemetry with the -e DISABLE_TELEMETRY=1 option in your docker run statement for the PMM Server.

For information on the various config parameters for telemetry, see the config file.

Check for updates

When active, PMM will automatically check for updates and put a notification in the home page Updates dashboard if any are available.

Advisors

Advisors are sets of checks grouped by functionality that run a range of database health checks on a registered PMM instance.

The findings are reported on the Advisors > Advisor Insights page, and an overview is displayed on the Home dashboard.

The Advisors option is enabled by default. Checks are re-fetched and rerun at intervals.

See Working with Advisor checks.

Percona Alerting

Enables Percona Alerting and reveals the Percona templated alerts option on the Alerting page.

Backup Management

Enables Backup Management option and reveals the Backup page from where you can:

  • Create and restore MongoDB and MySQL backups
  • Automate backup scheduling
  • Set retention policies
  • Monitor your backup and restore activity

Public Address

The address or hostname PMM Server will be accessible at. Click Get from browser to have your browser detect and populate this field automatically.

Database as a Service (DBaaS)

Caution

DBaaS functionality is a technical preview that must be turned on with a server feature flag. See DBaaS.

Enables/disables DBaaS features on this server.

Important

Deactivating DBaaS does not suspend or remove running DB clusters.

Microsoft Azure monitoring

Caution

This is a technical preview feature.

Activates Microsoft Azure monitoring.

SSH Key

This section lets you upload your public SSH key to access the PMM Server via SSH (for example, when accessing PMM Server as a virtual appliance).

!

Enter your public key in the SSH Key field and click Apply SSH Key.

Alertmanager integration

Alertmanager manages alerts, de-duplicating, grouping, and routing them to the appropriate receiver or display component.

This section lets you configure how VictoriaMetrics integrates with an external Alertmanager.

Tip

If possible, use Integrated Alerting instead of Alertmanager.

  • The Alertmanager URL field should contain the URL of the Alertmanager which would serve your PMM alerts.
  • The Prometheus Alerting rules field is used to specify alerting rules in the YAML configuration format.

Fill in both fields and click the Apply Alertmanager settings button to proceed.

Percona Platform

This is where you connect your PMM server to your Percona Platform Account.

To learn how to connect your PMM servers to Percona Platform and leverage Platform services that boost the monitoring capabilities of your PMM installations, see Integrate PMM with Percona Platform.

Your Percona Platform Account is separate from your PMM User account.

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.


Last update: 2024-02-29