Skip to content

Conversation

kacpersaw
Copy link
Contributor

@kacpersaw kacpersaw commented Oct 8, 2025

This PR extends the scaletest notification runner with SMTP support.

If the --smtp-api-url flag is provided, the runner will also watch for SMTP notifications using the specified URL.

Changes

  • Added a new watcher to retrieve emails sent to the runner user
  • Tracked WebSocket and SMTP latencies separately
  • Updated metrics to include notification_id and notification_type labels

CLI Flags

  • --smtp-api-url: Address of the SMTP mock HTTP API used to retrieve email notifications

Metrics

  • notification_delivery_latency_seconds now includes:
    • notification_id
    • notification_type (websocket or smtp)

Copy link
Contributor Author

kacpersaw commented Oct 8, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@kacpersaw kacpersaw force-pushed the kacpersaw/scaletest-notifications-smtp branch from d943527 to 9411ea4 Compare October 8, 2025 15:14
@kacpersaw kacpersaw force-pushed the kacpersaw/scaletest-smtp-mock-server branch from 5830a76 to 20790fc Compare October 8, 2025 16:02
@kacpersaw kacpersaw force-pushed the kacpersaw/scaletest-notifications-smtp branch 3 times, most recently from 7c9356f to df56754 Compare October 8, 2025 16:43
@kacpersaw kacpersaw requested a review from spikecurtis October 8, 2025 16:57
@kacpersaw kacpersaw marked this pull request as ready for review October 8, 2025 16:57
@kacpersaw kacpersaw force-pushed the kacpersaw/scaletest-notifications-smtp branch from df56754 to 9bf2971 Compare October 9, 2025 13:03
@kacpersaw kacpersaw force-pushed the kacpersaw/scaletest-notifications-smtp branch from 9bf2971 to b32040f Compare October 14, 2025 10:38
@kacpersaw kacpersaw force-pushed the kacpersaw/scaletest-notifications-smtp branch from c47fb2a to a1ad593 Compare October 14, 2025 16:09
@kacpersaw
Copy link
Contributor Author

@spikecurtis also, I extracted the notifications CLI command into a separate file because it was getting too long

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.

2 participants