Git Product home page Git Product logo

aiodebug's Introduction

aiodebug's People

Contributors

leftys avatar vitawasalreadytaken avatar

Stargazers

Chad avatar Seyed hamed moosavi avatar Raell Dottin avatar  avatar Kindritskiy Maksym avatar Chris Goddard avatar Xiang ZHU avatar Alexey Klimkin avatar  avatar Quint van Dijk avatar Abay Bek avatar Malcolm Jones (bossjones/Tony Dark) avatar  avatar Aly Sivji avatar  avatar Roland Pihlakas avatar Karol Zlot avatar  avatar Doronin Evgeniy avatar Blake Watters avatar  avatar  avatar Vera Lobacheva avatar Yevhen Ts. avatar Brad Belyeu avatar Luckydonald avatar John Speno avatar Evgenii Zakharin avatar Ivan Gorbachev avatar Michael Floering avatar Oleg Volchkov avatar Renyi Khor avatar Bobby Chowdary avatar Éamonn Murray avatar Andrey Demyanenko avatar Miroslav Kovar avatar 半片叶 avatar Goutom Roy avatar Jan Killian avatar Da  avatar Ryan Anguiano avatar Chiu-Hsiang Hsu avatar Florian Ludwig avatar Saurabh Mishra avatar  avatar Jesse Talavera avatar 我是少天 avatar Henry.H avatar  avatar Alan Dragomirecký avatar  avatar Christoffer Mollenhoff avatar Eugene Oskin avatar Arti Zirk avatar Ben Eshed avatar Alex Shevchenko avatar Adrien Pensart avatar Samuel Holt avatar Caleb Hattingh avatar nicfit avatar Amir Amazigh avatar Mateusz avatar  avatar

Watchers

James Cloos avatar Roland Pihlakas avatar  avatar 半片叶 avatar

aiodebug's Issues

Custom logging callback

I'd like to use this module for JSON logging when an async task blocks the async loop for too long. It'd be nice to have an API that allows users to call a custom callback when a task takes too long to run. For example:

aiodebug.log_slow_callbacks.enable(
  0.05,
  callback=lambda duration:
    json_logger.warning("Task blocked async loop for too long", extra={"duration": duration})
)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.