Skip to content

CJM-148039: Custom Channels execution metrics XDM mixin (Phase 1)#2181

Open
mukullamba04 wants to merge 3 commits into
adobe:masterfrom
mukullamba04:feature/custom-channel-execution-metrics-mixin-v2
Open

CJM-148039: Custom Channels execution metrics XDM mixin (Phase 1)#2181
mukullamba04 wants to merge 3 commits into
adobe:masterfrom
mukullamba04:feature/custom-channel-execution-metrics-mixin-v2

Conversation

@mukullamba04
Copy link
Copy Markdown
Contributor

@mukullamba04 mukullamba04 commented May 23, 2026

Summary

Phase 1 scope: Custom Channels monitoring only. Adds the custom-channel-execution-metrics XDM field group under extensions/adobe/experience/customerJourneyManagement/, capturing per-call HTTP execution detail for AJO Custom Channel sends.

This is the schema layer for epic CJM-119729, paired with:

Design source-of-truth: wiki 3886615741.

Explicitly out of scope (Phase 1B)

  • Integrations monitoring — no integration-execution-metrics mixin, no integrationExecutionMetrics field, no integration resolver, no ajo-integration CJA template in this PR or its linked stack.
  • Integrations design remains documented in the wiki for a future phase.

Field design (custom-channel-execution-metrics)

Field Semantics
endpoint URL template (un-interpolated) — cardinality control
method HTTP verb
requestTimestamp ISO-8601 at HTTP boundary
responseTime ms at HTTP boundary only (auth excluded)
waitTime Phase-2 reserved (emit 0 today)
statusCode Raw integer HTTP status
throttleApplicable Config-applied throttling flag
errorCode Free-form string; producer vocabulary in ExecutionErrorCode
errorReason Human-readable detail

Test plan

  • Local: npm run format:check, npm test, npm run xed-validation
  • CI green on fork branch feature/custom-channel-execution-metrics-mixin-v2 @ c797877de

Adds two extensions/ schemas:
- custom-channel-execution-metrics: per-call HTTP execution detail
  emitted on message.feedback for custom-channel sends
- (Integration mixin deferred to Phase 1B - design preserved in
  internal wiki, not shipped in this PR)

Field design (custom-channel-execution-metrics):
endpoint (URL template form, placeholders un-substituted),
method, requestTimestamp, responseTime (ms), waitTime (ms,
Phase-2 reserved), statusCode (raw HTTP int), throttleApplicable
(config-applied flag), errorCode (free-form string), errorReason.

errorCode kept as free-form string in XDM (no enum constraint)
to let producers evolve the controlled vocabulary without an
XDM schema update.

URL-template form chosen for the endpoint field to avoid per-recipient
cardinality explosion in downstream live reporting; precedent is the
email domain-derived field that truncates link URLs.

Examples: success (200) + HTTP 503 covering populated + error cases.
@mukullamba04 mukullamba04 changed the title CJM-119729: AJO Custom Channels execution metrics XDM mixin (Phase 1) CJM-119729: Custom Channels execution metrics XDM mixin (Phase 1 — custom channels only) May 24, 2026
@mukullamba04 mukullamba04 changed the title CJM-119729: Custom Channels execution metrics XDM mixin (Phase 1 — custom channels only) CJM-148039: Custom Channels execution metrics XDM mixin (Phase 1) May 24, 2026
@mukullamba04 mukullamba04 force-pushed the feature/custom-channel-execution-metrics-mixin-v2 branch from c797877 to 51261ba Compare May 25, 2026 15:46
Apply repo formatting after rebasing the custom-channel execution metrics mixin onto the latest XDM master.
@mukullamba04 mukullamba04 force-pushed the feature/custom-channel-execution-metrics-mixin-v2 branch from 51261ba to 3a59854 Compare May 25, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant