Skip to content

feat(llma): Graduate Trace/Event Summarization to GA #44733

@andrewm4894

Description

@andrewm4894

Overview

Graduate the LLM analytics trace/event summarization feature from alpha to beta. This feature allows users to generate AI-powered summaries of LLM traces and events, helping them quickly understand complex AI interactions.

Current State:

  • Backend: Full implementation with OpenAI + Gemini providers
  • Rate limits: 50/min burst, 200/hour sustained, 500/day cap
  • Access: Gated by is_ai_data_processing_approved org flag
  • Backend event tracking exists (llma summarization generated)

Scope: UI-focused user-initiated summarization. Batch processing (Temporal workflows) is out of scope as it's part of a separate clustering workstream.


Phase 1: Tracking & Instrumentation

PRs:


Phase 2: Documentation

PRs:


Phase 3: Pre-GA Review

  • Security audit: Error responses verified - no sensitive data leaks
  • Review rate limits for GA scale - keeping current limits (500/day sufficient, OpenAI is BYOK)
  • Test with fresh org (AI consent flow)

Phase 4: Beta Release

PRs:

Dashboard: LLM Analytics Summarization - GA Monitoring

Includes:

  • Daily summarizations trend
  • Average duration
  • Summarizations by mode (minimal/detailed)
  • Summarizations by type (trace/event)
  • Unique users

Phase 5: GA Release (Future)

  • Remove beta tag from UI
  • Remove beta callout from docs
  • Add to PostHog changelog

Success Metrics

  • Weekly active users using summarization
  • Summarizations per active user
  • Feedback positive ratio
  • Error rate < 5%

PRs & Assets

Item Description Status
#44734 Frontend data-attr tracking Open
#44736 Feedback UI & tracking Open
#44740 Move to beta (remove FF, update tag) Open
#44741 Fix pseudo-trace focus regression Open
PostHog/posthog.com#14350 Documentation (beta) Open
Dashboard Monitoring Done

Out of Scope

  • Batch processing / Temporal workflows (separate clustering workstream)
  • BYOK changes (keeping current approach - rate limits sufficient)
  • Rate limit changes (review post-GA based on usage)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions