{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/3"}],"enrichment":{"capability":"Timing-asgi is an ASGI middleware that automatically measures and emits endpoint timing metrics (wall-clock and CPU time) with HTTP context tags, designed for integration with statsd-based monitoring services.","skillfed_tags":["asgi-middleware","metrics-instrumentation","performance-monitoring"],"use_cases":["Emit per-endpoint wall-clock and CPU timing to Datadog or another statsd service for production monitoring.","Automatically track HTTP request latency by status code and method without modifying route handlers.","Build a custom metrics client to route timing data to your own monitoring or logging backend.","Profile ASGI application performance in development by printing timing metrics to stdout or a log file.","Measure CPU vs. wall-clock time to identify I/O-bound vs. compute-bound bottlenecks in endpoints."],"what_it_does":"Timing-asgi is a middleware layer for ASGI applications that automatically captures timing data for each request as it passes through your application. It measures both wall-clock time and CPU time, then emits these metrics along with HTTP context (status code, method) to a pluggable client interface. The middleware was built at GRID for use with Starlette-based backend services and is designed to feed metrics into statsd-compatible monitoring systems like Datadog.\n\nYou integrate it by wrapping your ASGI app with the TimingMiddleware, providing a TimingClient implementation (which can print, send to Datadog, or route metrics anywhere else) and a metric namer that converts ASGI scope information into readable metric names. The middleware handles the instrumentation transparently; your application code remains unchanged.","worth_installing":"Yes, if you need automatic ASGI endpoint timing instrumentation and your license requirements can tolerate an unclear license status. The package is actively maintained, has no dependencies, and integrates cleanly with Starlette and other ASGI frameworks. Verify the license terms with the maintainer before using in a commercial or compliance-sensitive context."},"id":"timing-asgi","links":{"html":"https://skillfed.io/packages/timing-asgi","md":"https://skillfed.io/packages/timing-asgi.md","pypi":"https://pypi.org/project/timing-asgi/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-17","license_spdx":null,"license_treatment":"unclear","name":"timing-asgi","python_support":"supports_current","summary":"ASGI middleware to emit timing metrics with something like statsd"},"popularity":{"monthly_downloads":628117,"position":5677,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.2"}
