{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/3"}],"enrichment":{"capability":"Configures structlog to output logs in Google Cloud Logging JSON format, with automatic error reporting and context variable support.","skillfed_tags":["gcp-integration","structured-logging"],"use_cases":["Format structlog output for GKE applications so logs appear correctly in Google Cloud Logging console.","Automatically report exceptions and CRITICAL messages to Google Error Reporting dashboard.","Configure Cloud Run services to emit structured logs with service name and revision from environment variables.","Integrate structlog with custom processors while maintaining Google Cloud Logging compatibility.","Bind request-scoped context variables to logs across multiple logger calls in a single request."],"what_it_does":"structlog-gcp is a formatter package that bridges structlog and Google Cloud Logging. It provides processors that convert structlog output into the JSON format expected by Google Cloud Logging, with built-in support for translating Python log levels to GCP equivalents and automatic error reporting to Google Error Reporting. The package is designed for applications running on GKE, Cloud Functions, or Cloud Run\u2014environments where logs are written to stdout and picked up by Google's logging infrastructure.\n\nThe package handles three main concerns: formatting logs as JSON, managing context variables across loggers, and detecting exceptions to report them to Error Reporting. It offers a simple configuration path via `build_processors()` for typical use cases, and a lower-level `build_gcp_processors()` for applications that need finer control over the processor chain or custom JSON serializers.","worth_installing":"Yes, if you run Python applications on Google Cloud infrastructure (GKE, Cloud Run, Cloud Functions) and use structlog for logging. The package is actively maintained, has low install friction, and solves a specific integration problem with no known vulnerabilities. Install with caution only if you are not using Google Cloud Logging or prefer a different structured logging approach."},"id":"structlog-gcp","links":{"html":"https://skillfed.io/packages/structlog-gcp","md":"https://skillfed.io/packages/structlog-gcp.md","pypi":"https://pypi.org/project/structlog-gcp/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-07","license_spdx":null,"license_treatment":"unclear","name":"structlog-gcp","python_support":"supports_current","summary":"A structlog set of processors to output as Google Cloud Logging format"},"popularity":{"monthly_downloads":414354,"position":6835,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.1"}
