@@ -22,10 +22,43 @@ To be released.
2222 and delayed counts, and ` ParallelMessageQueue ` delegates depth reporting
2323 to its wrapped queue when supported. [[ #735 ] , [ #748 ]]
2424
25+ - Added OpenTelemetry metrics for ActivityPub delivery attempts, permanent
26+ delivery failures, inbox listener processing duration, and HTTP Signature
27+ verification failures. Applications can pass the new ` meterProvider `
28+ option to ` createFederation() ` , and ` Context.meterProvider ` exposes the
29+ provider available to request, inbox, and outbox code.
30+ [[ #316 ] , [ #619 ] , [ #755 ]]
31+
32+ - Added the ` activitypub.delivery.failed ` span event to queued outbox
33+ delivery spans so retry and permanent-failure decisions include the
34+ remote host, attempt number, and HTTP status code when available.
35+ [[ #316 ] , [ #619 ] , [ #755 ]]
36+
37+ - * Breaking change* : Changed the ` activitypub.activity.sent ` span event to
38+ record delivery metadata (` activitypub.inbox.url ` and
39+ ` activitypub.activity.id ` ) instead of the full ` activitypub.activity.json `
40+ payload. ` FedifySpanExporter ` now stores outbound records from those
41+ attributes, and ` TraceActivityRecord.activityJson ` is present only when the
42+ span event includes full activity JSON. [[ #316 ] , [ #619 ] , [ #755 ]]
43+
44+ [ #316 ] : https://github.com/fedify-dev/fedify/issues/316
45+ [ #619 ] : https://github.com/fedify-dev/fedify/issues/619
2546[ #735 ] : https://github.com/fedify-dev/fedify/issues/735
2647[ #748 ] : https://github.com/fedify-dev/fedify/pull/748
2748[ #752 ] : https://github.com/fedify-dev/fedify/issues/752
2849[ #753 ] : https://github.com/fedify-dev/fedify/pull/753
50+ [ #755 ] : https://github.com/fedify-dev/fedify/pull/755
51+
52+ ### @fedify/fixture
53+
54+ - Added ` createTestMeterProvider() ` and ` TestMetricRecorder ` helpers for
55+ asserting OpenTelemetry metric measurements in runtime-agnostic tests.
56+ [[ #316 ] , [ #619 ] , [ #755 ]]
57+
58+ ### @fedify/testing
59+
60+ - Added a ` meterProvider ` option to ` createFederation() ` so mock contexts can
61+ expose a test OpenTelemetry meter provider. [[ #316 ] , [ #619 ] , [ #755 ]]
2962
3063### @fedify/amqp
3164
0 commit comments