Add web-requests summary field groups and extend CDN Requests Summary (summary-metrics) - #2256
Draft
sandersonb wants to merge 1 commit into
Draft
Conversation
…(summary-metrics) Model aggregated web-request (CDN weblog) summaries for delivery to Customer Journey Analytics as summary data, on the XDM Summary Metrics class. Geo/device/ environment shapes reuse the standard datatypes so they match what the Edge orchestration layer emits on interactive ExperienceEvents. New field groups (intendedToExtend summarymetrics): - web-requests-environment-summary: placeContext/device/environment via the standard placecontext, device, and environment datatypes. - web-requests-bot-detection-summary: botDetection name/ruleSource/ruleId, plus additive scoreSum + scoredRequests so an average bot score (scoreSum / scoredRequests) re-aggregates correctly at any CJA grain. - web-requests-summary-classification: normalized deviceType derived dimension. Extended: - cdn-requests-summary: aggregate requestBytes / responseBytes metrics. Reference composite: - schemas/web-requests/web-requests-summary: Summary Metrics class + all field groups merged, with an end-to-end example (also the Data Prep mapping target). Design notes: - ruleSource and deviceType are soft enums (meta:enum, no hard enum) so new detectors / device classes need no schema change. - Aggregation grain is set per flow by the upstream GROUP BY; numeric fields are never group-by dimensions, so the schema stays a permissive superset. - Client IP is excluded from summary output for PII; enforced at the Data Prep mapping layer (fields cannot be stripped from a $ref'd standard datatype). - meta:titleId / meta:descriptionId omitted; generated by the localization pipeline. All schemas and examples pass npm test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sandersonb
force-pushed
the
feature-ghostwire-web-requests-summary
branch
from
September 11, 2026 02:48
f411efd to
6dce30f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Model aggregated web-request (CDN weblog) summaries for delivery to CJA as summary data, on the XDM Summary Metrics class:
Client IP is excluded from summary output (enforced at the Data Prep layer). All schemas and examples pass npm test.
Please link to the issue #…