2.2.0 (April 15th, 2020)¶
MetricsMockto reduce the boilerplate for testing. Thank you, John! (#68)
Remove use of
2.1.0 (October 7th, 2019)¶
get_metrics()so you can call it without passing in a thing and it’ll now create a
MetricsInterfacethat doesn’t have a key prefix. (#59)
2.0.0 (September 19th, 2019)¶
time.perf_counter()if available. Thank you, Mike! (#34)
Support Python 3.7 officially.
Add filters for adjusting and dropping metrics getting emitted. See documentation for more details. (#40)
Backwards incompatible changes
tagsnow defaults to
Nonewhich may affect some expected test output.
Adjust internals to run
.emit()on backends. If you wrote your own backend, you may need to adjust it.
Drop support for Python 3.4. (#39)
Drop support for Python 2.7.
If you’re still using Python 2.7, you’ll need to pin to
Document feature support in backends. (#47)
MetricsMock.has_record()example. Thank you, John!
1.2.0 (April 27th, 2018)¶
MetricsMockmaking it easier to build a pytest fixture with the
MetricsMockcontext and manipulate records for easy testing. (#29)
Update Cloudwatch backend fixing
histogrammetrics type which Datadog now supports. (#31)
1.1.2 (April 5th, 2018)¶
Fix the date from the previous release. Ugh.
1.1.1 (April 5th, 2018)¶
Official switch to semver.
MetricsMockso it continues to work even if
configureis called. (#27)
1.1 (November 13th, 2017)¶
1.0 (October 30th, 2017)¶
Added support for Python 2.7.
markus.backends.statsd.StatsdMetricsbackend that uses pystatsd client for statsd pings. Thank you, Javier!
Mozilla has been running Markus in production for 6 months so we can mark it production-ready now.
0.2 (April 19th, 2017)¶
markus.backends.logging.LoggingRollupMetricsbackend that rolls up metrics and does some light math on them. Possibly helpful for light profiling for development.
Lots of documentation fixes. Thank you, Peter!
0.1 (April 10th, 2017)¶