Skip to content
Performance Co-Pilot Grafana Plugin
TypeScript JavaScript HTML CSS Shell Makefile Nix
Branch: master
Clone or download
Latest commit 164a9ad Nov 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs docs: update instructions for pcp-redis datasource Oct 24, 2019
pipelines use yarn for CI Nov 12, 2019
src automate release process, update changelog Nov 12, 2019
.gitignore build: remove dist/ from master branch Aug 13, 2019
.nvmrc initial commit May 17, 2019
CHANGELOG.md automate release process, update changelog Nov 12, 2019
LICENSE change license to Apache 2.0 for all datasources Jul 17, 2019
Makefile remove packaging from repo, unify project title Aug 21, 2019
NOTICE bpftrace: first version of flamegraph panel Sep 23, 2019
README.md Update install instructions to latest version Nov 12, 2019
babel.config.js bpftrace: first version of flamegraph panel Sep 23, 2019
jest.config.js refactorings Aug 19, 2019
package.json build: change dependencies to original repo Oct 10, 2019
shell.nix build: add changelog and release script Aug 13, 2019
tsconfig.jest.json
tsconfig.json bpftrace: first version of flamegraph panel Sep 23, 2019
tslint.json lib: pmwebd compat + tests Aug 22, 2019
webpack.config.js flamegraph: pause on user interaction, panel editor, misc bugfixes Sep 25, 2019
webpack.config.prod.js bpftrace: first version of flamegraph panel Sep 23, 2019
yarn.lock build: change dependencies to original repo Oct 10, 2019

README.md

Performance Co-Pilot Grafana Plugin

Build Status

Performance Co-Pilot (PCP) provides a framework and services to support system-level performance monitoring and management. It presents a unifying abstraction for all of the performance data in a system, and many tools for interrogating, retrieving and processing that data.

Vector Overview Vector metrics autocompletion bpftrace probe autocompletion more screenshots

Features

  • analysis of historical PCP metrics using pmseries query language
  • analysis of real-time PCP metrics using pmwebapi live services
  • enhanced Berkeley Packet Filter (eBPF) tracing using bpftrace scripts
  • automatic rate conversation for counter metrics
  • heatmap and table support
  • auto completion of metric names [1,2], qualifier keys and values [1], and bpftrace probes, builtin variables and functions [3]
  • display of semantics, units and help texts of metrics [2] and bpftrace builtins [3]
  • legend templating support with $metric, $metric0, $instance, $some_label, $some_dashboard_variable
  • container support [1,2]
  • support for custom endpoint URL [1,2,3] and container [2] setting per query
  • support for repeated panels
  • sample dashboards for all datasources

[1] PCP Redis [2] PCP Vector [3] PCP bpftrace

Datasources

PCP Redis

This datasource queries the fast, scalable time series capabilities provided by the pmseries(1) functionality. It is intended to query historical data across multiple hosts and supports filtering based on labels.

PCP Vector

The PCP Vector datasource shows live, on-host metrics from the real-time pmwebapi(3) interfaces. It is intended for individual host, on-demand performance monitoring and includes container support.

PCP bpftrace

The PCP bpftrace datasource supports system introspection using bpftrace(8) scripts. It connects to the bpftrace PMDA and runs bpftrace scripts on the host.

Installation

Download a release tarball from https://github.com/performancecopilot/grafana-pcp/releases, extract it to /var/lib/grafana/plugins, restart grafana, enable the Performance Co-Pilot plugin and setup the datasources.

$ wget https://github.com/performancecopilot/grafana-pcp/archive/v1.0.1.tar.gz
$ sudo tar xfz v1.0.1.tar.gz -C /var/lib/grafana/plugins
$ sudo systemctl restart grafana-server 

Build

Clone the git repository at https://github.com/performancecopilot/grafana-pcp and type:

yarn install
yarn run build
You can’t perform that action at this time.