github latitude-dev/latitude-llm python-telemetry-3.8.1
Python Telemetry v3.8.1

latest releases: typescript-telemetry-4.3.0, python-telemetry-3.8.4, typescript-telemetry-4.2.1...
4 hours ago

Fixed

  • Redaction no longer raises TypeError or drops spans when a pattern matches
    (#4833). OpenTelemetry freezes a
    span's attributes when it ends, and the redaction processor tried to write into them, so any
    match, including the default db.statement pattern, raised into application code and the span
    was never exported. LatitudeSpanProcessor now redacts span and event attributes in an
    export-time view, so the span itself (shared with other processors on the provider) is never
    modified. The SDK's own cost attributes are written after redaction, so a broad pattern such as
    ^gen_ai\. can't mask them, and cost is still resolved from the unredacted span. Redaction never
    raises: a failing mask or pattern masks that value with ****** (fail closed) and the span is
    still exported. Used standalone, RedactSpanProcessor now points the ended span at redacted
    copies instead of writing into frozen attributes. It also tracks processed spans in a weak set,
    so its memory no longer grows with every span and a recycled object id can't skip redaction.

Don't miss a new latitude-llm release

NewReleases is sending notifications on new releases.