- dashboards: add configuration instructions to PCP Vector Top Consumers dashboard
- build: update node dependencies
- build: update Go and node dependencies
- valkey: new PCP Valkey datasource (replacement for PCP Redis)
- redis: PCP Redis datasource renamed to PCP Valkey due to licensing
- dashboards: new PCP Vector Top Consumers dashboard
- dashboards: new PCP Vector UWSGI overview dashboard
- dashboards: new PCP Prometheus Host Overview dashboard
- test: update cypress tests for grafana 10
- docs: update donations page link with new fiscal sponsor details
- docs: add .readthedocs.yaml file to keep grafana-pcp.readthedocs.io working
- docs: fix command in installation doc to allow loading unsigned plugins for both containers and from source
- build: update grafana/plugin-validator and pin nodejs version
- build: update Go and node dependencies
- ci: update release scrip to use gh instead of deprecated hub command
- search: metric search turned off until Valkey replacement arrives for RediSearch
- build: use deterministic moduleIds (webpack)
- redis: validate base URL
- redis: set pmproxy API timeout to 1 minute
- vector,bpftrace: increase data source settings form column to prevent line wrap
- dashboards: bump revision of all dashboards due to the internal plugin IDs change (see below)
- build: update dependencies, update to Grafana v9.0.9 and sync minimum Grafana version requirement
- docs: update version compatibility table
- ci: upgrade cypress
Due to a breaking change (see section below), the following instructions are required before upgrading to grafana-pcp v5:
- Go to Configuration -> Data sources and delete any PCP Redis, PCP Vector or PCP bpftrace data sources
- Go to Configuration -> Plugins, select the Performance Co-Pilot app and click the Disable button
- Go to Dashboards -> Browse and delete any remaining dashboards installed by grafana-pcp
- If you installed grafana-pcp through the RPM package, open the
/etc/grafana/grafana.ini
configuration file and update the following setting:allow_loading_unsigned_plugins = performancecopilot-pcp-app,performancecopilot-redis-datasource,performancecopilot-vector-datasource,performancecopilot-bpftrace-datasource,performancecopilot-flamegraph-panel,performancecopilot-breadcrumbs-panel,performancecopilot-troubleshooting-panel
- Perform the upgrade to grafana-pcp v5
- Enable the plugin, setup all data sources and import all dashboards again
- If you have custom dashboards, update all panels with the correct data source
- all: rename plugin IDs from
pcp-*-*
toperformancecopilot-*-*
- all: remove
window.setGrafanaPcpLogLevel()
debug function - chore: remove deprecated
dependencies.grafanaVersion
field from plugin metadata - docs: update spelling of datasource to data source
- the internal plugin IDs of the data source and panel plugins were renamed from
pcp-X-Y
toperformancecopilot-X-Y
, for examplepcp-redis-datasource
was renamed toperformancecopilot-redis-datasource
in order to conform to the Grafana plugin id naming conventions
- redis, vector: add buttons to disable rate conversation and time utilization conversation
- redis: use LRU cache for series metadata
- redis: fix label_names() function to return all label names if no parameter is specified (now the label name auto-completion in the query editor works again)
- redis: remove deprecated
label_values(metric, label)
function - redis: fix network error for metrics with many series (requires PCP v6+)
- redis: update debug logging messages
- bpftrace: disable scrolling beyond last line in query editor
- checklist: fix dashboard link in navigation bar
- chore: upgrade Grafana dependencies to version 8.5.6
- chore: refactor custom Monaco languages
- chore: use new @grafana/ui form components in query editor
- build: verify javascript size in Makefile
- test: add datasource, metric auto-completion and import dashboard tests
- ci: switch e2e tests to cypress, use matrix configuration to run them with multiple Grafana versions
- redis: The
label_values(metric, label)
Grafana variable query function is now removed (was deprecated since grafana-pcp v3)
- dashboards: add note about incompatibility of checklist dashboards with Grafana v8
- search: fix metric search form to make it compatible with Grafana v8
- dashboards: new MS SQL server dashboard for PCP Redis
- dashboards: do not hide empty buckets in PCP Vector eBPF/BCC Overview dashboard
- dashboards: set revision for all dashboards
- redis: utilize query.options settings, same as PCP Vector
- redis: fix metric() function to return all metric names if no parameter is specified
- vector: perform rate conversion only if it's enabled in the query options (it is by default)
- build: add workaround to replace deprecated md4 hash algorithm with sha256 during build (md4 is unavailable in OpenSSL 3.0)
- build: update Node.js and Go dependencies, and grafonnet
- build: double-zip build artifacts in the CI workflow to preserve permissions (see actions/upload-artifact#38)
- build: add zip Makefile target, run grafana/plugincheck in CI workflow
- docs: add PCP Vector eBPF/BCC Overview dashboard screenshots
- checklist: use new GraphNG component, show units in graphs, update help texts
- all: ensure Grafana 8.0 compatibility by replacing Angular.js based plugin config component with React
- dashboards: add pmproxy URL and hostspec variables to PCP Vector Host Overview and PCP checklist dashboards
- dashboards: show datasource field on all dashboards
- dashboards: mark all dashboards as readonly
- bpftrace: fix bpftrace error messages (don't append errors indefinitely)
- vector, bpftrace: use
pcp://127.0.0.1
as default hostspec (no functional change) - chore: update dependencies
- test: replace convey with testify for the Go tests
- test: fix e2e tests by using another CSS selector
- chore: update dependencies
- docs: add container guide and screenshot
- checklist: replace the storage metrics
disk.dm.*
withdisk.dev.*
(enables usage without device mapper)
- redis: add auto-completions for new pmseries(1) language functions
- redis, vector: show error messages returned by the REST API
- vector, bpftrace: fix error messages regarding missing metrics
- vector: register derived metrics for every context
- vector: handle missing metric metadata responses
- checklist: fix metric name in storage warning dialog
- test: fix PCP Redis datasource test on 32bit architectures
- build: update dependencies
- redis: support for Grafana Alerting
- redis: full-text search in metric names, descriptions, instances
- vector: support derived metrics, which allows the usage of arithmetic operators and statistical functions inside a query (pmRegisterDerived(3))
- vector: configurable hostspec (access remote PMCDs through a central pmproxy)
- vector: automatically configure the unit of the panel
- dashboards: detect potential performance issues and show possible solutions with the checklist dashboards, using the USE method
- dashboards: new MS SQL server dashboard (Louis Imershein)
- dashboards: new eBPF/BCC dashboard
- dashboards: new container overview dashboard with CGroups v2
- dashboards: All dashboards are now located in the Dashboards tab at the datasource settings pages and are not imported automatically
- redis: Using
label_values(metric, label)
in a Grafana variable query is deprecated due to performance reasons.label_values(label)
is still supported.
- redis: added instance.name and dashboard variables support in query editor
- redis: heatmap support
- dashboards: updated PCP Redis Metric Preview dashboards: added metric drop-down
- dashboards: added MS SQL server dashboard for Vector (Louis Imershein)
- chore: sign plugin
- redis: implement workaround if two values for the same instance and timestamp are received
- redis: send one instance labels request instead of one per instance
- redis: refresh instances only once per series
- redis: improved error messages
- vector: (internal) option to disable time utilization conversion
- vector: show error message when access mode is set to server & url override is set
- vector: disable redis backfill for now (pmseries and pmapi instance id's don't match)
- bpftrace: interpret all fields of CSV output as strings
- dashboards: moved dashboards to the datasource level: dashboards of interest can be imported using the dashboards tab of each datasource settings page
- dashboards: fix KB/s unit in dashboards, should be KiB/s
- dashboards: add installation instructions to BCC and bpftrace dashboards
- dashboards: update titles and add units to checklist dashboards
- search: fix datasource detection
- search: propagate error messages to the user
- poller: use timeout instead of interval to prevent overlapping timers
- poller: deregister targets immediately if endpoint changed
- chore: update build dependencies
- test: add unit tests to all datasources
- test: add End-to-End tests
- docs: update authentication guide to use scram-sha-256
- redis: support for Grafana Alerting
- redis: full-text search in metric names, descriptions, instances
- vector: support derived metrics, which allows the usage of arithmetic operators and statistical functions inside a query, see pmRegisterDerived(3)
- vector: set background metric poll interval according to current dashboard refresh interval, do not stop polling while in background
- vector: automatically configure the unit of the panel
- vector: redis backfilling: if redis is available, initialize the graph with historical data
- vector: configurable hostspec (access remote PMCDs through a central pmproxy)
- vector: access context, metric, instancedomain and instance labels
- dashboards: checklist dashboard: detects potential performance issues and shows possible solutions to resolve them
- dashboards: eBPF/BCC dashboard
- dashboards: container overview dashboard with CGroups v2
- build: convert dashboards to jsonnet/grafonnet
- all: use latest Grafana UI components based on React (Grafana previously used Angular)
Unfortunately it is not possible to sign community plugins at the moment. Therefore the PCP Redis datasource plugin needs to be allowed explicitely in the Grafana configuration file:
allow_loading_unsigned_plugins = pcp-redis-datasource
Restart Grafana server, and check the logs if the plugin loaded successfully.
- redis: Using
label_values(metric, label)
in a Grafana variable query is deprecated due to performance reasons.label_values(label)
is still supported.
- vector, redis: remove autocompletion cache (PCP metrics can be added and removed dynamically)
- build: fix production build (implement workaround for systemjs/systemjs#2117, grafana/grafana#21785)
- vector, bpftrace: fix version checks on dashboard load (prevent multiple pmcd.version checks on dashboard load)
- vector, bpftrace: change datasource check box to red if URL is inaccessible
- redis: add tests
- flame graphs: support multidimensional eBPF maps (required to display e.g. the process name)
- dashboards: remove BCC metrics from Vector host overview (because the BCC PMDA isn't installed by default)
- misc: update dependencies
- support Grafana 6.5+, drop support for Grafana < 6.5
- redis: fix timespec (fixes empty graphs for large time ranges)
- redis: support wildcards in metric names (e.g.
disk.dev.*
) - redis: fix label support
- redis: fix legends
- redis: set default sample interval to
60s
(fixes empty graph borders) - build: upgrade
copy-webpack-plugin
to mitigate XSS vulnerability in theserialize-javascript
transitive dependency - build: remove deprecated
uglify-webpack-plugin
- flame graphs: clean flame graph stacks every 5s (reduces CPU load)
- general: implement PCP version checks
- build: remove
weak
dependency (doesn't work with Node.js 12) - build: upgrade
terser-webpack-plugin
to mitigate XSS vulnerability in theserialize-javascript
transitive dependency
- fix flame graph dependency (
flamegraph.destroy
error in javascript console)
- handle counter wraps (overflows)
- convert time based counters to time utilization
- aggregate stack counts by selected time range in the Grafana UI
- add an option to hide idle stacks
- fix container dropdown in the query editor
- remove container setting from the datasource settings page
- fix value transformations (e.g., rate conversion of counters)
- request more datapoints from the datasource to fill the borders of the graph panel
- support for Flame Graphs
- context-sensitive auto-completion for bpftrace probes, builtin variables, and functions incl. help texts
- parse the output of bpftrace scripts (e.g., using
printf()
) as CSV and display it in the Grafana table panel - sample dashboards (BPFtrace System Analysis, BPFtrace Flame Graphs)
- table output: show instance name in the left column
- table output: support non-matching instance names (cells of metrics which don't have the specific instance will be blank)
- if the metric/script gets changed in the query editor, immediately stop polling the old metric/deregister the old script
- improve pmwebd compatibility
- help texts for all datasources (visible with the [ ? ] button in the query editor)
- renamed PCP Live to PCP Vector
- logos for all datasources
- improved error handling
- The initial release of grafana-pcp
- retrieval of Performance Co-Pilot metrics from pmseries (PCP Redis), pmproxy, and pmwebd (PCP Live)
- automatic rate conversion of counter metrics
- auto-completion of metric names 1,2, qualifier keys, and values 2
- display of semantics, units, and help texts of metrics 1
- legend templating support with
$metric
,$metric0
,$instance
,$some_label
- container support
- support for repeating panels
- support for custom endpoint URL and container setting per query, with templating support 1
- heatmap and table support 1
- sample dashboards for PCP Redis and PCP Live
1 PCP Live 2 PCP Redis
- the bpftrace datasource is work-in-progress and will be ready with the next release (approx. 1-2 weeks)
Thanks to Jason Koch for the initial pcp-live datasource implementation and the host overview dashboard.