History¶
2.2.0 (April 15th, 2020)¶
Features
Add
assert_
methods toMetricsMock
to reduce the boilerplate for testing. Thank you, John! (#68)
Bug fixes
Remove use of
six
library. (#69)
2.1.0 (October 7th, 2019)¶
Features
Fix
get_metrics()
so you can call it without passing in a thing and it’ll now create aMetricsInterface
that doesn’t have a key prefix. (#59)
2.0.0 (September 19th, 2019)¶
Features
Use
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
tags
now defaults to[]
instead ofNone
which 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
<2.0.0
. (#42)
Bug fixes
Document feature support in backends. (#47)
Fix
MetricsMock.has_record()
example. Thank you, John!
1.2.0 (April 27th, 2018)¶
Features
Add
.clear()
toMetricsMock
making it easier to build a pytest fixture with theMetricsMock
context and manipulate records for easy testing. (#29)
Bug fixes
Update Cloudwatch backend fixing
.timing()
and.histogram()
to sendhistogram
metrics type which Datadog now supports. (#31)
1.1.1 (April 5th, 2018)¶
Features
Official switch to semver.
Bug fixes
Fix
MetricsMock
so it continues to work even ifconfigure
is called. (#27)
1.0 (October 30th, 2017)¶
Features
Added support for Python 2.7.
Added a
markus.backends.statsd.StatsdMetrics
backend that uses pystatsd client for statsd pings. Thank you, Javier!
Bug fixes
Added
LoggingRollupMetrics
to docs.Mozilla has been running Markus in production for 6 months so we can mark it production-ready now.
0.2 (April 19th, 2017)¶
Features
Added a
markus.backends.logging.LoggingRollupMetrics
backend that rolls up metrics and does some light math on them. Possibly helpful for light profiling for development.
Bug fixes
Lots of documentation fixes. Thank you, Peter!
0.1 (April 10th, 2017)¶
Initial writing.