tenant-aware-logging
CommunityTenant-scoped logging for SaaS reliability
Authormarquesfelip
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Tenant-aware logging ensures every log carries tenant context to enable per-tenant filtering, auditing, and compliance across microservices in multi-tenant SaaS environments.
Core Features & Use Cases
- Attach tenant_id to logs across HTTP handlers, background jobs, and async tasks
- Propagate tenant context through context.Context or similar across goroutines and service boundaries
- Enable per-tenant log filtering in Loki, Datadog, CloudWatch; enforce PII masking
- Reconstruct tenant context in background workers for traceability and isolation
Quick Start
Instrument your HTTP handlers to attach tenant_id to the request context and emit tenant-enriched logs in all services.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tenant-aware-logging Download link: https://github.com/marquesfelip/agents-and-skills/archive/main.zip#tenant-aware-logging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.