Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/piwik.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

Compatibility matrix

Plugin

0.1

1.0

Piwik

0.6

0.6

Description / Features

Piwik is an open-source web analytics software that can be used as an alternative to Google Analytics, in particular for internal websites. The Piwik Plugin submits individual's browsing activity of the Sonar SonarQube instance to a Piwik server so that it can then be analysed.

Once browsing data from a Sonar SonarQube instance instance has been collected by the Piwik Plugin then the Piwik software itself has a lot of cool features to help you analyse that traffic:

...

To learn more about Piwik please visit their the website: Piwik

Image Removed

Usage & Installation

Image Added

Requirements

You already have an instance of Piwik 0.6.

Compatibility matrix:

Plugin

0.1

1.0

Piwik

0.6

0.6

Include Page
Include - Plugin Installation
Include - Plugin Installation

Usage

The Plugin is configured by an administrator with the details of a Piwik instance and from . From that point on each
web , each web page will include a script at the end of it that submits information related to the page, the visitor, and their browser to Piwik for analysis.

To configure the Piwik Plugin:

  • You already have an instance of Piwik 0.6.
  • In Piwik you have defined define a new website for the Sonar SonarQube instance: Settings - > Websites - > Add new website
  • Install Piwik Plugin in Sonar through the normal plugin installation mechanism of including the jar in the Sonar extensions/plugins directory and restarting the service
  • In Sonar as an administrator: Configuration -> Settings -> Piwik
    Image Removed In SonarQube log in as a System Administrator and go to Settings > General Settings > Piwik
    Image Added
    • Use the Piwik website details to fill out the parameters.
    • The Website ID, for example 2, can be taken straight from the websites page of Piwikwebsite's Piwik page.
    • The Piwik Server is the domain name or IP of the Piwik instance, for example piwik.mycompany.com
    • The Relative Path on Server is the relative location of the Piwik website on the server. For example with the Piwik url of http://piwik.mycompany.com/piwik-0.6/index.php then this value would be "piwik-0.6". It can be empty if Piwik was installed at the root of the server.
  • Click Save Parameters

If you look at the source of a Sonar SonarQube page you should now see a Piwik script near the bottom of the page.

Returning to In the Piwik service side, you should start seeing page hits from Sonar SonarQube being shown within a few seconds as you browse SonarSonarQube.

Known limitations

None known.

Changelog

Change Log

JIRA Issues
anonymoustrue
title

...

Version 1.0
height70
renderModestatic
width900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16917&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
title

...

Version 0.1
height70
renderModestatic
width900
columnstype;key;summary;priority

...

urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16578&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

Roadmap

 Release 0.1

  • Configuration to set Piwik server instance
  • Including Piwik script on each page once enabled

 Release 0.2

  • ???