{"id":16452583,"url":"https://github.com/agent-hellboy/flask-crlatency","last_synced_at":"2026-05-14T11:34:31.729Z","repository":{"id":189266957,"uuid":"677052582","full_name":"Agent-Hellboy/flask-crlatency","owner":"Agent-Hellboy","description":"A flask extension to log route latency","archived":false,"fork":false,"pushed_at":"2023-08-29T03:38:29.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T15:42:12.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Agent-Hellboy.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-10T16:14:31.000Z","updated_at":"2023-08-10T16:32:29.000Z","dependencies_parsed_at":"2023-08-19T04:21:10.834Z","dependency_job_id":"73801d2f-e064-4b0f-a366-0c3e1d61dfc5","html_url":"https://github.com/Agent-Hellboy/flask-crlatency","commit_stats":null,"previous_names":["agent-hellboy/flask-crlatency"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agent-Hellboy%2Fflask-crlatency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agent-Hellboy%2Fflask-crlatency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agent-Hellboy%2Fflask-crlatency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agent-Hellboy%2Fflask-crlatency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Agent-Hellboy","download_url":"https://codeload.github.com/Agent-Hellboy/flask-crlatency/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240893888,"owners_count":19874703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T10:13:14.432Z","updated_at":"2026-05-14T11:34:31.686Z","avatar_url":"https://github.com/Agent-Hellboy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"flask-crlatency (flask-check-route-latency)\n===========================================\n\nA flask extension to log route latency\n\nInstallation \n------------\npip install flask-crlatency\n\nExample\n-------\n\n.. code:: py \n\n    from flask import Flask \n    from flask_crlatency import RouteLatencyLogger\n\n    app = Flask(__name__) \n    app.config[\"SECRET_KEY\"] =\"your_secret_key\" \n    app.config[\"DEBUG\"] = True\n    app.config[\"MAX_ROUTE_LATENCY\"] = 0.1\n    \n    latency_logger = RouteLatencyLogger(app)\n    \n    @app.route(\"/\") \n    def index(): \n        return \"Hello, World!\"\n\n    if __name__ == \"__main__\": \n        app.run()\n\n    response:\n    \n    [2023-08-19 10:00:58,654] WARNING in __init__: High latency for route index: 3.001345 seconds\n    127.0.0.1 - - [19/Aug/2023 10:00:58] \"GET / HTTP/1.1\" 200 -\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagent-hellboy%2Fflask-crlatency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagent-hellboy%2Fflask-crlatency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagent-hellboy%2Fflask-crlatency/lists"}