Unverified Commit 9f49d863 authored by Hong Minhee's avatar Hong Minhee
Browse files

Add FedifySpanExporter for distributed trace storage

Implement FedifySpanExporter class that persists ActivityPub activity
traces to a KvStore, enabling distributed tracing across multiple nodes.
This allows building debug dashboards that show complete request flows
across web servers and background workers.

Features:

- Captures inbound (received) and outbound (sent) activities from
  OpenTelemetry span events
- Supports both list() and cas() storage strategies depending on
  KvStore capabilities
- Includes actorId and signatureDetails fields for debug dashboard use
- Provides getActivitiesByTraceId() and getRecentTraces() query methods
- Configurable TTL and key prefix options

Closes https://github.com/fedify-dev/fedify/issues/497



Co-Authored-By: default avatarClaude <noreply@anthropic.com>
parent 378e7acf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment