{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/19"}],"enrichment":{"capability":"Extracts request IDs from incoming HTTP requests (from load balancers or infrastructure) and injects them into Flask application logs for distributed tracing.","skillfed_tags":["microservices","request-tracing","logging"],"use_cases":["Correlate logs across multiple Flask microservices by injecting a common request ID into all log records.","Debug production issues by tracing a single user request through multiple services using a unified request ID.","Forward request IDs to background Celery tasks so async work maintains the same tracing context.","Integrate with load balancer request tracing (ELB, Heroku) to preserve infrastructure-level request IDs in application logs."],"what_it_does":"Flask-Log-Request-ID is a Flask extension that captures request IDs from HTTP headers (commonly set by load balancers like Amazon ELB or Heroku) and makes them available throughout your application's request lifecycle. It provides a RequestIDLogFilter that automatically injects the request ID into all log records, including those from third-party libraries, enabling you to trace a single user request across multiple services and log files.\n\nThe package is designed for microservices and multi-tier infrastructure where a request passes through several layers. By attaching the same request ID to every log entry, you can correlate logs across services and dramatically simplify debugging. It exposes a current_request_id() function to retrieve the ID at any point in your code, and includes support for forwarding the request ID to Celery workers.","worth_installing":"Yes, with caution. The package is simple, stable, and solves a real problem in microservice logging. However, maintenance is dormant since 2019 with no recent commits\u2014test compatibility with your Flask version before deploying to production. If you need active support or are using very recent Flask releases, consider whether a more actively maintained alternative exists."},"id":"flask-log-request-id","links":{"html":"https://skillfed.io/packages/flask-log-request-id","md":"https://skillfed.io/packages/flask-log-request-id.md","pypi":"https://pypi.org/project/flask-log-request-id/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2019-10-31","license_spdx":null,"license_treatment":"permissive","name":"Flask-Log-Request-ID","python_support":"unspecified","summary":"Flask extension that can parse and handle multiple types of request-id sent by request processors like Amazon ELB, Heroku or any multi-tier infrastructure as the one used for microservices."},"popularity":{"monthly_downloads":121332,"position":11985,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.1"}
