delatore-0.5.1
توضیحات
Bot for CSM jobs notifications in telegram and alerta
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | delatore-0.5.1 |
| نام | delatore |
| نسخه کتابخانه | 0.5.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | OTC customer service monitoring team |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/opentelekomcloud-infra/delatore |
| آدرس اینترنتی | https://pypi.org/project/delatore/ |
| مجوز | Apache-2.0 |
Delatore
========
| |Build Status|
| |Zuul|
| |codecov|
| |PyPI version|
| |GitHub|
Monitor and report status of customer service monitoring scenarios
Bot commands
------------
Telegram bot accepts following commands:
``/status``
~~~~~~~~~~~
Bot reply to the message with last status(-es) retrieved from given
source
Status has following syntax:
``/status <source> [detailed_source] [history_depth]``
If some argument contains spaces, it should be surrounded by quotes,
either ``'...'`` or ``"..."``
AWX Source
^^^^^^^^^^
Status command for AWX source has following syntax:
``/status awx [template_name] [history_depth]``
Examples:
- ``/status awx`` — return last job status for all *scenarios*
- ``/status awx 'Buld test host'`` — return last job status for AWX
template which called 'Buld test host'
- ``/status awx 'Scenario 1.5' 3`` — return status of last 3 jobs for
AWX template which called ``Scenario 1.5``
.. |Build Status| image:: https://travis-ci.org/opentelekomcloud-infra/delatore.svg?branch=master
:target: https://travis-ci.org/opentelekomcloud-infra/delatore
.. |codecov| image:: https://codecov.io/gh/opentelekomcloud-infra/delatore/branch/master/graph/badge.svg
:target: https://codecov.io/gh/opentelekomcloud-infra/delatore
.. |PyPI version| image:: https://img.shields.io/pypi/v/delatore.svg
:target: https://pypi.org/project/delatore/
.. |GitHub| image:: https://img.shields.io/github/license/opentelekomcloud-infra/delatore
.. |Zuul| image:: https://zuul-ci.org/gated.svg
نیازمندی
| مقدار | نام |
|---|---|
| >=0.4.3,<0.5.0 | ocomone |
| >=0.2.5,<0.3.0 | apubsub |
| ==2.9.2 | aiogram |
| >=3.6.2,<4.0.0 | aiohttp |
| >=0.3.4,<0.4.0 | aiohttp-socks |
| >=2.0.0,<3.0.0 | aiodns |
| ==5.2.3 | influxdb |
| >=0.1.0,<0.2.0 | pyyaml-typed |
| >=3.2.0,<4.0.0 | jsonschema[format] |
| >=0.1.2,<0.2.0 | rfc3339-validator |
| >=7.4.4,<8.0.0 | alerta |
| >=2.11.2,<3.0.0 | jinja2 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl delatore-0.5.1:
pip install delatore-0.5.1.whl
نصب پکیج tar.gz delatore-0.5.1:
pip install delatore-0.5.1.tar.gz