v0.5.0
Breaking changes for three functions in the Mobius.Exports module:
Mobius.Exports.series/4Mobius.Exports.metrics/4Mobius.Exports.plot/4
If you are now directly calling these functions in code you're safe to upgrade.
The first two use to return either {:ok, results} or {:error, reason} but
now they will only return their result. For Mobius.Exports.series/4 the return
value is now [integer()] and for Mobius.Exports.metrics/4 the return type is
now [Mobius.metric()]. Mobius.Exports.plot/4 still returns :ok on success,
but can now return {:error, UnsupportedMetricError.t()}.
Changed
Mobius.Exports.series/4return type was
{:ok, [integer()]} | {:error, UnsupportedMetricError.t()}and now is
[integer()].Mobius.Exports.metrics/4return type was
{:ok, [Mobius.metric()]} | {:error, UnsupportedMetricError.t()}and now is
[Mobius.metric()]Mobius.Exports.plot/4was just:okbut now is
:ok | {:error, UnsupportedMetricError.t()}
Added
Mobius.RemoteReporterbehaviour to allow for reporting metrics to a remote
server.- Add
:remote_reporterand:remote_report_intervaloptions to the
Mobius.arg()type. - Super for specify which summery metric you want to export. (@ewildgoose)
- Support for summary metrics types in some exports. (@ewildgoose)
- Add standard deviation calculation to the summary metric type. (@ewildgoose)
- New
Mobius.Exports.export_metric_type()that allows for specifying the
summary metric type.
Misc
- Update
ex_doctov.0.28.4 - Update
telemetrytov1.1.0 - Fix up typos (@kianmeng)