Added
createMemoryTelemetry()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 anexecutecallback — capturing latency, errors, and status — or emits a completed span. It setsgen_ai.operation.nameand thegen_ai.memory.*attributes, stamps Latitude context, and maps asearchresult to the records it returned.- Content is opt-in via
captureContent(off by default) and covers both record bodies (gen_ai.memory.records) and the search query (gen_ai.memory.query.text), with aredacthook to scrub records before they are sent. GEN_AI_MEMORY_ATTRIBUTESandMEMORY_OPERATIONSconstants are exported for raw OpenTelemetry instrumentation.