Skip to content

Console helper to check, monitor, stop zeppelin paragraph and receive status notifications via Slack

License

Notifications You must be signed in to change notification settings

sbilello/zeppelin-handy-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zeppelin-handy-helpers

Console helper to check, monitor, stop zeppelin paragraph and receive notifications to Slack

Build Status CircleCI PyPI version

Disclaimer

This tool is just a small helper and it is not ready for production yet. It works pretty well for my use cases. Feel free to expand or improve.

Installation

pip install zeppelin-handy-helpers

Usage

usage: zhh [-h] [--end_point [END_POINT]]
           [--slack_end_point [SLACK_END_POINT]] [--read] [--check] [--stop]
           [--monitor]

optional arguments:
  -h, --help            show this help message and exit
  --end_point [END_POINT]
                        Specify Zeppelin API end_point
  --slack_end_point [SLACK_END_POINT]
                        Specify Slack Incoming Webhook
  --read                Show all notebook names and ids
  --check               Show all running paragraphs
  --stop                Stop all runnning paragraphs
  --monitor             Monitor all running paragraphs

Examples

(demo) ➜  zeppelin-handy-helpers git:(master) ✗ zhh --end_point http://localhost/api/notebook --slack_end_point https://hooks.slack.com/services/XXXXX/XXXX/XXXXX --read
[
    {
        "id": "2CFH4E3TG",
        "name": "OWL"
    },
    {
        "id": "2CF34ERK6",
        "name": "SparkPi"
    },
    {
        "id": "2D62499YH",
        "name": "DemoNotebook"
    }
]

Execution completed

About

Console helper to check, monitor, stop zeppelin paragraph and receive status notifications via Slack

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages