How to use the nbresuse.handlers.MetricsHandler function in nbresuse

To help you get started, we’ve selected a few nbresuse examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github yuvipanda / nbresuse / nbresuse / handlers.py View on Github external
def setup_handlers(web_app):
    route_pattern = url_path_join(web_app.settings['base_url'], '/metrics')
    web_app.add_handlers('.*', [(route_pattern, MetricsHandler)])

nbresuse

Simple Jupyter extension to show how much resources (RAM) your notebook is using

BSD-2-Clause
Latest version published 4 years ago

Package Health Score

58 / 100
Full package analysis

Similar packages