Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here

pysensu-yelp

A Python library to emit Sensu events that the Yelp Sensu Handlers can understand for Self-Service Sensu Monitoring

Subscribe to updates I use pysensu-yelp


Statistics on pysensu-yelp

Number of watchers on Github 15
Number of open issues 0
Average time to close an issue 3 days
Main language Python
Average time to merge a PR 14 days
Open pull requests 0+
Closed pull requests 0+
Last commit over 2 years ago
Repo Created almost 6 years ago
Repo Last Updated over 2 years ago
Size 3.96 MB
Organization / Authoryelp
Contributors9
Page Updated
Do you use pysensu-yelp? Leave a review!
View on github
Fresh, new opensource launches 🚀🚀🚀
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating pysensu-yelp for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

pysensu-yelp

Build Status

pysensu-yelp is a python library designed for interacting with the custom Yelp sensu-handlers.

This allows developers to get notified in the method of their choice, on arbitrary events that might happen in their code.

Only a very specific type of situation calls for this kind of monitoring, it does not replace general active checks against webservers and stuff.

See the docs for more information about the use-cases for this and examples on how to use it.

Installation

TODO

Usage

If you need to send an event, use pysensu_yelp.send_event:

import pysensu_yelp

result_dict = {
    'check_name': 'my_cool_code',
    'runbook': 'http://lmgtfy.com/?q=my_cool_code',
    'status': 1,
    'output': 'CRITICAL: My code broke! Check the logs!',
    'team': 'backend', 
    'tip': 'This happens sometimes when you frobulate the flux restraint cannon',
    'page': True,
    'notification_email': None,
    'irc_channels': None,
    'alert_after': '5m',
    'check_every': '1m',
    'realert_every': -1,
    'ttl': None
}
pysensu_yelp.send_event(**result_dict)

More Docs!

Documentation Status

Full autogen docs are on ReadTheDocs.

License

Apache 2.

Contributing

Open an issue or fork and open a Pull Request

Please do not attempt to use pysensu-yelp without Yelp's sensu_handlers unless you intend to write your own custom handlers.

pysensu-yelp open issues Ask a question     (View All Issues)
  • over 4 years The 'output' parameter to send_event is not documented
  • over 4 years release 0.2.3 to public pypi
pysensu-yelp list of languages used
Other projects in Python