Add HTTP status-code breakdown to the publisher summary - #1
Merged
Merged
Conversation
events_by_status counts events by the response_status the edge enrichment profile stamps into event_data, with a guarded cast so malformed values fold into the NULL bucket alongside self-reported events (which carry no status) instead of failing the aggregation. Runs as a fourth concurrent query in get_publisher_summary. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Adds
events_by_statusto the publisher summary: event counts grouped by theresponse_statusthe edge enrichment profile stamps intoevent_data. A guarded regex cast folds malformed values into the NULL bucket alongside self-reported events (which never carry a status) rather than failing the whole aggregation. Runs as a fourth concurrent query inget_publisher_summary, matching the existing source-breakdown pattern.Purely additive to the response shape. Includes an integration test covering the 200/404/NULL bucketing.
🤖 Generated with Claude Code