Skip to content

v0.51.0 - September 4, 2026

Choose a tag to compare

@LucasAlvesSoares LucasAlvesSoares released this 04 Sep 20:23
· 20 commits to main since this release
ad3f911

What's New

  • Identity attributes on log records: OTel log records now automatically carry sap.tenancy.tenant_id and user.id, matching the attributes already present on traces. The new IdentityLogFilter is installed on the LoggingHandler as part of setup_log_provider() / auto_instrument().

    Resolution priority for both attributes:

    1. Runtime context populated by bootstrap() (GLOBAL_TENANT_ID, USER_ID from IASContextProvider)
    2. IAS auth context set by StarletteIASTelemetryMiddleware (sap_gtid, user_uuid claims)
    3. Omitted when no identity is available (e.g. log lines emitted at startup)

    Contributors