Skip to content

v0.4.0

Choose a tag to compare

@mattludwigs mattludwigs released this 25 Mar 22:08
· 85 commits to main since this release

Changed

  • Mobius.plot/3 is now Mobius.Exports.plot/4
  • Mobius.to_csv/3 is now Mobius.Exports.csv/4
  • Mobius.filter_metrics/3 is now Mobius.Exports.metrics/4
  • Mobius.name() is now Mobius.instance()
  • Mobius functions that need to know the name of the mobius instance now
    expect :mobius_instance and not :name
  • Mobius.metric_name() is no longer a list of atoms() but is not the metric
    name as a string
  • Mobius.RRD internal metric format
  • Mobius.RRD.insert/3 typespec now expects [Mobius.metric()] as the last
    parameter

Removed

  • Mobius.filter_opt() type
  • Mobius.csv_opt() type
  • Mobius.plot_opt() type
  • Mobius.query_opts/1 function
  • Mobius.to_csv/3 function
  • Mobius.plot/3 function
  • Mobius.filter_metrics/3 function
  • Mobius.make_bundle/2 function (use Mobius.mbf/1 instead)
  • Mobius.Bundle module
  • Mobius.record() type

Added

  • Mobius.Exports module for APIs concerning retrieving historical data in
    various formats
  • Mobius.Exports.csv/4 generates a CSV either as a string, to the console, or
    to a file
  • Mobius.Exports.series/4 generates a series for historical data
  • Mobius.Exports.metrics/4 retrieves the raw historical metric data
  • Mobius.Exports.plot/4 generates a line plot to the console
  • Mobius.Exports.mbf/1 generates a binary that contains all current metrics
  • Mobius.Exports.parse_mbf/1 parses a binary that is in the Mobius Binary Format
  • Mobius.Exports.UnsupportedMetricError
  • Mobius.Exports.MBFParseError
  • Mobius.FileError
  • :name field to Mobius.metric() type