Skip to content

Python Telemetry v3.7.0

Choose a tag to compare

@github-actions github-actions released this 20 Jul 14:26
504d131

Added

  • create_memory_telemetry() emits OpenTelemetry GenAI memory-operation spans (create_memory, update_memory, upsert_memory, delete_memory, search_memory, create_memory_store, delete_memory_store). Each operation optionally wraps a sync or async execute callable — capturing latency, errors, and status — or emits a completed span. It sets gen_ai.operation.name and the gen_ai.memory.* attributes, stamps Latitude context, and maps a search result to the records it returned.
  • Content is opt-in via capture_content (off by default) and covers both record bodies (gen_ai.memory.records) and the search query (gen_ai.memory.query.text), with a redact hook to scrub records before they are sent.
  • MEMORY_ATTRIBUTES and MEMORY_OPERATIONS constants are exported for raw OpenTelemetry instrumentation.