Extending and Customizing PMM
Michael Coburn Percona
Extending and Customizing PMM Michael Coburn Percona Michael - - PowerPoint PPT Presentation
Extending and Customizing PMM Michael Coburn Percona Michael Coburn Product Manager for PMM (as well as for Percona Toolkit) At Percona for 6 years across multiple MySQL roles Principal Architect, Managing Consultant, Technical
Michael Coburn Percona
2
○ Principal Architect, Managing Consultant, Technical Account Manager
3
○ We also support:
■ ProxySQL ■ Amazon RDS MySQL & Aurora MySQL ■ Remote MySQL & PostgreSQL instances
Click to add text
5
○ Prometheus ○ CloudWatch ○ Graphite ○ Elasticsearch
○ Define your graph metrics, and let the hosts get filled in automatically ○ GREAT for large, dynamic environments where hosts are considered ephemeral
6
7
Click to add text
9
10
○ Datasource name (change to Prometheus) ○ Edit instance variables to match PMM variable names (i.e. $host when most grafana.com Dashboards use $instance)
Available for MySQL and PostgreSQL
12
13
14
15
17
18
○ pmm-admin remove linux:metrics ○ pmm-admin add linux:metrics -- --collectors.enabled=...,ntp ○ ps aux | grep node_exporter
Click to add text
20
○ You can have multiple channels defined
21
22
○ Email ○ Slack ○ PagerDuty ○ AlertManager ○ ...
Click to add text
24
25
Click to add text
27
○ Instead copy the dashboard and edit your copy, and it will survive upgrades
○ Percona loves Pull Requests! Your changes can make it into a future release
28
29