Percona Database Performance Blog

Percona Database Performance Blog -

Copying Alert Rules From One Percona Monitoring and Management Server to Another

Since Percona Monitoring and Management (PMM) 2.40.0, Grafana uses PostgreSQL instead of SQLite database to store users, dashboards, and other persistent data. This aids in getting some useful information related to [configured alerts] directly via querying from the Postgres backend.Sometimes we need to migrate only alert rules from one PMM server to another for some […]

自Percona Monitoring and Management (PMM) 2.40.0版本开始,Grafana使用PostgreSQL数据库存储用户、仪表盘和其他持久化数据。可以通过查询Postgres后端直接获取与配置的警报相关的一些有用信息。为了满足某些需求或测试/故障排除目的,有时我们只需要将警报规则从一个PMM服务器迁移到另一个。现在,我们可以通过使用cURL请求和PostgreSQL数据库直接复制这些警报并将其恢复到目标PMM实例。本文将重点介绍执行Grafana警报规则导出/导入的步骤。

server

相关推荐 去reddit讨论

热榜 Top10

Dify.AI
Dify.AI
eolink
eolink
观测云
观测云
LigaAI
LigaAI

推荐或自荐