wiki.techinc.nl/tests/phpunit/unit/includes/libs/Stats
Cole White 37d29e8dc5 Stats: add unit helpers functions to TimingMetric
Statsd-exporter expects timing metrics in ms, and normalizes unit
conversion for scraping by Prometheus.

This gives users of TimingMetric functions for the unit
being measured and recalculates as necessary.

Bug: T364240
Change-Id: Ieb24a5f7230845713e5feaac75e279ed0250b808
2024-08-04 23:57:59 +00:00
..
BufferingStatsdDataFactoryTest.php tests: Move Wikimedia tests into Wikimedia\Tests 2024-02-17 02:09:08 +00:00
MetricTest.php Stats: add unit helpers functions to TimingMetric 2024-08-04 23:57:59 +00:00
PrefixingStatsdDataFactoryProxyTest.php tests: Move Wikimedia tests into Wikimedia\Tests 2024-02-17 02:09:08 +00:00
SampleTest.php
StatsEmitterTest.php Stats: combine testSendGaugeMetric into testSendMetrics 2024-07-23 13:56:35 +00:00
StatsFactoryTest.php stats: remove static labels feature 2024-04-04 14:39:41 +00:00