Expand all

ext.eventLogging.metricsPlatform

Methods

newMetricsClient(streamConfigs, eventSubmitter) → {Object}inner #

Creates a new MetricsClient instance with the given EventSubmitter implementation.

Currently, the MetricsClient will use a singleton instance of module:ext.eventLogging.metricsPlatform.MediaWikiMetricsClientIntegration.

Parameters:

Name Type Description
streamConfigs Object | false
eventSubmitter Object
Source:

Returns:

Type
Object
Creates a new MetricsClient instance with the given EventSubmitter implementation.