Skip to content

refactor(compute): filter logs on subservice column, not source attribute - #6578

Draft
johnstonmatt wants to merge 1 commit into
developfrom
FUNC-879/compute/change-log-schema
Draft

refactor(compute): filter logs on subservice column, not source attribute#6578
johnstonmatt wants to merge 1 commit into
developfrom
FUNC-879/compute/change-log-schema

Conversation

@johnstonmatt

Copy link
Copy Markdown
Contributor

The compute logs query relied on log_attributes['source'] to identify the stream, but the writer now publishes this as a top-level subservice column rather than a log_attributes key, so filtering switches to that column directly.

  • Filter and project on the top-level subservice column instead of log_attributes['source'] in computeLogsQuery
  • Update unit and integration tests to assert on subservice and confirm log_attributes['source'] is no longer referenced
  • Update SIDE_EFFECTS.md to describe the new filter columns

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