Skip to content

feat: add structured logging, telemetry, analytics, and feature flags#10

Merged
amrtgaber merged 1 commit intomainfrom
feat/logging-analytics-feature-flag
Feb 2, 2026
Merged

feat: add structured logging, telemetry, analytics, and feature flags#10
amrtgaber merged 1 commit intomainfrom
feat/logging-analytics-feature-flag

Conversation

@amrtgaber
Copy link
Contributor

  • Structured logging via structlog (JSON in prod, colored console in dev)
    with request ID middleware and per-request context binding
    • OpenTelemetry auto-instrumentation for FastAPI (opt-in via OTEL_ENABLED)
    • Analytics event abstraction with pluggable backend (default: log-based)
    • Environment-variable-backed feature flags with GET /flags endpoint
    • Migrate security_logging and users modules from stdlib logging to structlog

@amrtgaber amrtgaber merged commit 22fdf43 into main Feb 2, 2026
2 checks passed
@amrtgaber amrtgaber deleted the feat/logging-analytics-feature-flag branch February 2, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant