{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/2"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/2"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http"},{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"ASGI middleware that reads or generates correlation IDs for incoming requests and makes them available to logging, enabling you to trace all logs from a single HTTP request.","skillfed_tags":["observability","request-tracing","logging-integration"],"use_cases":["Debugging production issues by filtering logs to show only those from a specific user request.","Tracing requests across multiple services when correlation IDs are propagated through HTTP headers.","Integrating with error tracking services to group errors by the request that triggered them.","Auditing and compliance logging where you need to track all actions during a specific request.","Correlating logs from multiple handlers or middleware layers processing the same incoming request."],"what_it_does":"This package provides ASGI middleware that attaches a unique correlation ID to each incoming HTTP request, either by reading an existing ID from a header (like X-Request-ID or X-Correlation-ID) or by generating a new one. The middleware stores this ID in a way that makes it accessible to your application's logging system, allowing you to tag all log messages from a single request with the same ID.\n\nThe primary use case is request tracing: when logs from different parts of your application are all tagged with the same correlation ID, you can easily retrieve and correlate all logs belonging to a single user request. The package integrates with Python's standard logging module via a filter and supports customization of header names, ID generation, validation, and transformation.","worth_installing":"Yes. The package is production-stable (Development Status 5), has no known vulnerabilities, minimal dependencies, and solves a common observability problem in ASGI applications. Install it if you need to correlate logs across your application; the setup overhead is low and the debugging value is high."},"id":"asgi-correlation-id","links":{"html":"https://skillfed.io/packages/asgi-correlation-id","md":"https://skillfed.io/packages/asgi-correlation-id.md","pypi":"https://pypi.org/project/asgi-correlation-id/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-09","license_spdx":"MIT","license_treatment":"permissive","name":"asgi-correlation-id","python_support":"supports_current","summary":"Middleware correlating project logs to individual requests"},"popularity":{"monthly_downloads":6892349,"position":1818,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"5.0.1"}
