Skip to content

Latest commit

 

History

History
140 lines (112 loc) · 6.03 KB

CHANGELOG.md

File metadata and controls

140 lines (112 loc) · 6.03 KB

Change Log

This project adheres to Semantic Versioning.

This CHANGELOG follows the format listed here

Added

  • Add new class SensuPluginMetricsGeneric, this will be extended in future to act in a similar way to its Ruby counterpart. (@borourke)
  • Added a new class SensuPluginMetricInfluxdb, which outputs the results in influxdb line format. (@borourke)
  • Add basic tests for the Metrics classes. (@borourke)

Fixed

  • Refactor metrics classes, they should now function properly when passed an exception, empty status or a status message. (@borourke)
  • Update tests so that they run with pytest > 4.0. (@borourke)
  • Updated setup.py to include classifiers as per https://packaging.python.org/tutorials/packaging-projects. (@borourke)

[0.7.1]

Added

  • Make get_settings() sensu 2.0 compatible. (@barryorourke)

Added

  • Add more testing to utils, bringing coverage up to 80%. (@barryorourke)

Added

  • Added map_v2_event_into_v1 method to Utils for all plugin classes to use. (@barryorourke)
  • Added --map-v2-event-into-v1 runtime commandline option to base Handler class. (@barryorourke)
  • Alternatively set envvar SENSU_MAP_V2_EVENT_INTO_V1=1 and handlers will automatically attempt to map 2.x event data. (@barryorourke)
  • Mapping function sets and checks for boolean event attribute 'v2_event_mapped_into_v1', to prevent mapping from running multiple times in same pipeline. (@barryorourke)

Added

  • test that event data exists and is valid json (@barryorourke)
  • make testing plugins a lot easier (@barryorourke)
  • add docstrings to plugin.py (@barryorourke)
  • add tests for plugin.py (@barryorourke)
  • add docstrings to check.py (@barryorourke)
  • add tests to check.py (@barryorourke)
  • add basic tests for push events (@barryorourke)

Fixed

  • fix event reading into the handler (@barryorourke)

Changed

  • Remove unused tests (@barryorourke)
  • Refactor the run_tests script (@absolutejam)
  • Add support for Python 3.7 (@barryorourke)
  • Update docker to use refactored test suite (@barryorourke)
  • Add python 3.7 support to docker (@barryorourke)
  • rename test directory to tests, because OCD (@barryorourke)

Added

  • handlers can now process commandline arguments (@barryorourke)

Fixed

  • fix read event exception raise (@oboukili)

Fixed

  • Fixes a bug introduced to utils.config_files which only returns /etc/sensu/config.json (@barryorourke)

Fixed

  • Fixes utils.config_files so that it returns a list of files, rather than a list of None's (@barryorourke)

Fixed

  • Fixes client_name in bail() as it was using an incorrect path within event dict (@absolutejam)

Fixed

  • Fixes get_api_settings method (@absolutejam)
  • Add missing dependeny to setup.py (@barryorourke)

Changed

  • Move utils sub-package into the main package (@barryorourke)

Added

  • Add support for python 3.5, which is the default version in Debian 9. (@barryorourke)
  • Added Dockerfiles and docker-compose.yml to aid with local development & testing (@absolutejam)
  • Add handler support! (@absolutejam)
  • Temporarily drop test coverage percentage (@barryorourke)

0.3.2 2017-10-10

Fixed

  • Variable name changes in the metrics classed missed during the initial 0.3.0 release (@barryorourke)

0.3.1 2017-10-10

Fixed

  • Really obvious logical error introduced whilst making 0.3.0 pass tests (@barryorourke)

0.3.0 2017-10-06

Breaking Change

  • Dropped support for Python 3.3 (@barryorourke)

Added

  • Added ability to submit checks for a jit host (@PhilipHarries)
  • Added support for Python 3.6 (@barryorourke)

Changed

  • Update Changelog to comply with standards (@barryorourke)
  • Update Ownership in setup.py (@barryorourke)

0.2.0 2014-01-06

  • Add support for Python3 (@zsprackett)

0.1.0 2014-01-06

  • Initial release (@zsprackett)