Ansible Collection - performancecopilot.metrics
A collection containing roles for Performance Co-Pilot (PCP) and related software, such as Redis and Grafana.
The collection is arranged as follows:
A role for core PCP capabilities, configuring live performance analysis with a large base set of metrics from the kernel and system services, as well as data recording and rule inference.
A role for configuring a local Redis server, suitable for use with a Performance Co-Pilot archive repository (for single or many hosts) and fast, scalable querying of metrics.
A role for configuring a local Grafana server, providing web frontend visuals for Performance Co-Pilot metrics, both live and historically. Data sources for Vector (live), Redis (historical) as well as interactive bpftrace (eBPF) scripts can be configured by this role. The PCP REST API service (from the core PCP role) must be configured in order to use this role.
A role configuring an additional PCP packaging repository - for installation of the latest (upstream) releases of the PCP packages from the Performance Co-Pilot development community.
A role that extends the core PCP role, providing metrics from bpftrace scripts (using the Linux kernel eBPF facilities). Configuring authentication of a local user capable of running bpftrace scripts via the PCP agent is a key task of this role.
A role that extends the core PCP role, providing metrics from a live ElasticSearch instance for PCP analysis - or exporting of PCP metric values (and meta-data) to ElasticSearch for the indexing and querying of performance data.
A role that extends the core PCP role, providing metrics from a SQL Server database. Configuring authentication of the PCP mssql metric agent is a key task of this role.
A role that extends the core PCP role, providing metrics from a Postfix mail server.
A role that extends the core PCP role, exporting metrics from PCP into Apache Spark for further analysis.