{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/3"}],"enrichment":{"capability":"Enriches Python log records with OpenCensus trace context (trace ID, span ID, sampling flag) to correlate logs with distributed traces.","skillfed_tags":["distributed-tracing","logging-integration","observability"],"use_cases":["Correlate application logs with distributed traces in microservices by including trace IDs in log output.","Debug multi-service requests by matching log entries to their corresponding trace spans across systems.","Format log messages to include trace context for centralized logging platforms that support trace-log correlation.","Verify which requests were sampled by including the sampling flag in logs alongside trace data."],"what_it_does":"opencensus-ext-logging is a plugin that integrates Python's standard logging module with OpenCensus distributed tracing. It automatically adds trace ID, span ID, and sampling flag to every log record, enabling logs to be correlated with traces across distributed systems. This is useful when you need to follow a single request through multiple services and want both trace and log data to reference the same context.\n\nThe integration works by hooking into the logging system after you call config_integration.trace_integrations(['logging']). Any logger created after that point will have access to traceId, spanId, and traceSampled attributes in its format string. The package depends only on opencensus itself and has low install friction, but it is no longer actively maintained\u2014the last release was in October 2021, and the parent repository is archived.","worth_installing":"Yes, if you are already using OpenCensus for tracing and need log correlation\u2014the integration is straightforward and permissively licensed. However, be aware the package is abandoned (last release October 2021) and may not be compatible with recent Python or opencensus versions. Consider whether your tracing infrastructure still supports OpenCensus or whether you should migrate to a maintained alternative like OpenTelemetry."},"id":"opencensus-ext-logging","links":{"html":"https://skillfed.io/packages/opencensus-ext-logging","md":"https://skillfed.io/packages/opencensus-ext-logging.md","pypi":"https://pypi.org/project/opencensus-ext-logging/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-10-05","license_spdx":null,"license_treatment":"permissive","name":"opencensus-ext-logging","python_support":"unspecified","summary":"OpenCensus logging Integration"},"popularity":{"monthly_downloads":484731,"position":6402,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.1"}
