Skip to content

chore(seer-activity): Add SLOs for integrations, refactor email to raise properly#118272

Merged
leeandher merged 3 commits into
masterfrom
leanderrodrigues/iswf-2732-add-logging-andor-metrics
Jun 23, 2026
Merged

chore(seer-activity): Add SLOs for integrations, refactor email to raise properly#118272
leeandher merged 3 commits into
masterfrom
leanderrodrigues/iswf-2732-add-logging-andor-metrics

Conversation

@leeandher

Copy link
Copy Markdown
Member

Records SLOs for integrations, for email we can use the notification platform metrics. In theory we could use those for both, but the specs will make sure the metrics land alongside metrics they're related to.

Note: The notification platform doesn't raise API errors, so those won't be caught here. In practice we're actually just making sure that the payload assembly before the notification is scheduled is working as expected. These routes have calls(e.g. require_config(...), require_integration_id(...) that will raise ValueErrors, and cause the SLO to fail -- this is what we're catching.

@leeandher leeandher requested a review from a team as a code owner June 23, 2026 18:40
@linear-code

linear-code Bot commented Jun 23, 2026

Copy link
Copy Markdown

ISWF-2732

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 23, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3103452. Configure here.

@leeandher leeandher merged commit 062390a into master Jun 23, 2026
79 of 81 checks passed
@leeandher leeandher deleted the leanderrodrigues/iswf-2732-add-logging-andor-metrics branch June 23, 2026 19:50
sehr-m pushed a commit that referenced this pull request Jun 23, 2026
…ise properly (#118272)

Records SLOs for integrations, for email we can use the notification
platform metrics. In theory we could use those for both, but the specs
will make sure the metrics land alongside metrics they're related to.

Note: The notification platform doesn't raise API errors, so those won't
be caught here. In practice we're actually just making sure that the
payload assembly before the notification is scheduled is working as
expected. These routes have calls(e.g. `require_config(...)`,
`require_integration_id(...)` that will raise `ValueErrors`, and cause
the SLO to fail -- this is what we're catching.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants