Extension:MetricsPlatform

Category:Extensions without an imageCategory:Extensions with invalid or missing typeCategory:Extensions without a compatibility policyCategory:Extensions with no license specified
MediaWiki extensions manual
MetricsPlatform
Release status: unknownCategory:Extensions with invalid status
Description Provides dynamic stream configs to EventStreamConfigs.
MediaWiki Category:Extensions without MediaWiki version
License No license specified
Download Category:Extensions in Wikimedia version control
Help Help:Extension:MetricsPlatform
Translate the MetricsPlatform extension if it is available at translatewiki.net
Category:All extensionsCategory:Extensions not in ExtensionJson

The MetricsPlatform extension is maintained by the Experiment Platform team at the Wikimedia Foundation. Read more about the Metrics Platform project.

This page will be updated as usage and local setup steps are defined.

Installation

  • Download and move the extracted MetricsPlatform folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MetricsPlatform
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'MetricsPlatform' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

  • Enabling the extension:
$wgMetricsPlatformEnable = true;
$wgMetricsPlatformInstrumentConfiguratorBaseUrl = 'https://mpic.wikimedia.org';
  • Enabling instrument fetching from MPIC and stream config merging:
$wgMetricsPlatformEnableStreamConfigsFetching = true;
$wgMetricsPlatformEnableStreamConfigsMerging = true;
  • Enabling experimentation capabilities (experiment enrollment):
$wgMetricsPlatformEnableExperiments = true;
$wgMetricsPlatformEnableExperimentOverrides = true;
Category:Extensions used on Wikimedia#MetricsPlatform
Category:All extensions Category:Extensions in Wikimedia version control Category:Extensions not in ExtensionJson Category:Extensions used on Wikimedia Category:Extensions with invalid or missing type Category:Extensions with invalid status Category:Extensions with no license specified Category:Extensions without MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image