Skip to content

Releases: cronitorio/cronitor-python

4.3.0

21 Sep 23:08
2d568a3

Choose a tag to compare

Merge pull request #12 from cronitorio/dependabot/pip/pyyaml-5.4

Bump pyyaml from 5.3.1 to 5.4

4.2.0

20 May 19:28
f13b64c

Choose a tag to compare

Update README.md

4.1.0

12 Feb 04:22

Choose a tag to compare

generate yaml config via api

4.0.3

10 Feb 22:41

Choose a tag to compare

don't filter key from attributes when generating yaml

4.0.2

10 Feb 21:46

Choose a tag to compare

fix generate_config to export a sparse dict

4.0.1

19 Dec 01:41

Choose a tag to compare

Monitor.ping should never raise an exception. Return True/False instead.

Version 4.0 Release

19 Dec 01:14
dcf5717

Choose a tag to compare

This major release is the first complete rewrite of this package to follow the Cronitor SDK Requirements.

Highlights

  • Uses of the Universal Ping URL (released in September 2020) to auto-provision monitors on the first telemetry ping. This allows monitoring to be added to any function with a simple decorator.
@cronitor.job('monitor-this-function')
def some_background_job():
    print('Boo! Cronitor is watching.')
  • Create and sync your monitors' keys, schedules, assertions, etc to Cronitor using a human friendly YAML config file:
jobs:
    nightly-invoice-task:
        schedule: '0 0 * * *'
        notify:
        assertions:
            - 'metric.duration < 5 min'
  • This library is also no longer pinned to a specific API version. Instead you can pass an (optional) header Cronitor-Version. If no header is provided your account's selected api version will be used.

Console script support

12 Jul 09:13
1d71990

Choose a tag to compare

Merge pull request #3 from vy-labs/fixes/minor-refactor

Fixes/minor refactor