This is a plugin for the Open Source Web Analytics platform Matomo (Piwik). If enabled, it will add a new widget that you can add to your dashboard and a new link in the top navigation.

The widget will show the performance index of a site that auto-refreshes every 30 seconds. It shows the number of visitors or visit time in a 30 minute period compared to the maximum number of visitors in any 30 minute period of the last 30 days.

This plugin is inspired by the piwik barometer plugin and uses a lightly modified jQuery-Dynameter (original by Tzechiu Lei.

This plugin should run fine with installations with up to 100.000 page impressions per day. If you run a very large piwik installation and have performance issues with this plugin, please contact me - there is a solution for this. I have it up and running in an installation with more than 5 million visits per day.

(Tested with piwik 2.7.0, but supposed to run with older versions)

Features

Here is a list of features that are included in this project:

  • Live widget ("Performance Monitor") with key performance indices
  • Add an item to the top navigation ("Performance overview") which displays the performance monitor widget for all your sites (configurable).

Configuration

Refresh interval: Defines how often the widgets will be updated. Every 30 seconds is a good value to choose.

Measurement period: Defines the measurement period in minutes. 5 minutes is a good value to choose.

Comparison period: Defines the period (x * 24h) the last 30 minutes are compared to. A good value for small sites with more or less static content is 30. For sites with peak days on weekends for example 1 will be a good value. 1 is also a good value for very big sites with a lot of traffic. You will have to play around with this value a little bit and figure out whalt will fit your needs.

Sites in overview: Defines which sites are displayed in the overview.

  • performancemonitor

Free Download for Matomo On-Premise This plugin is not available for Matomo for WordPress

Please share