MediaWiki master
Wikimedia\Stats\Formatters\DogStatsdFormatter Class Reference

DogStatsD Wire Format Implementation. More...

Inherits Wikimedia\Stats\Formatters\FormatterInterface.

Collaboration diagram for Wikimedia\Stats\Formatters\DogStatsdFormatter:

Public Member Functions

 getFormattedSamples (string $prefix, MetricInterface $metric)
 Renders metric to line format.
Parameters
string$prefix
MetricInterface$metric
Returns
string[]

 

Detailed Description

DogStatsD Wire Format Implementation.

Author
Cole White
Since
1.41

Definition at line 32 of file DogStatsdFormatter.php.

Member Function Documentation

◆ getFormattedSamples()

Wikimedia\Stats\Formatters\DogStatsdFormatter::getFormattedSamples ( string $prefix,
MetricInterface $metric )

Renders metric to line format.

Parameters
string$prefix
MetricInterface$metric
Returns
string[]

Implements Wikimedia\Stats\Formatters\FormatterInterface.

Definition at line 34 of file DogStatsdFormatter.php.


The documentation for this class was generated from the following file: