Skip to content

Conversation

@justinkambic
Copy link
Contributor

Summary

Resolves #241396.

Primary changes to how we create default Synthetics rules:

  • Navigation-based events will no longer trigger the creation of the rules
  • Creating a monitor will create the rules
  • Editing a monitor will create the rules

Testing this PR

  1. In a clean deployment/space, open two Kibana tabs, one for o11y rules page, the other some page besides Synthetics.
  2. Check the rules page, there should be no default Synthetics rules.
  3. In your second tab, navigate to Synthetics.
  4. Check the rules page again and ensure there are no Synthetics default rules.
  5. Create a Synthetics monitor.
  6. Go to the Settings tab in Synthetics and verify that there are no connectors set up (see Fig. 1 below).
  7. Check the rules page again, and see that there are monitor status and TLS default alerts now. Delete the rules.
  8. In Synthetics, navigate to the overview page and the management page within the app.
  9. Check the rules page again, see that there are still no new rules.
  10. Edit your monitor (change the name or something).
  11. After successfully saving the edits to your monitor, check the rules page again. See that there are now default monitor status and TLS alerts once more.

Figure 1, empty default connectors

image

@justinkambic justinkambic self-assigned this Dec 5, 2025
@justinkambic justinkambic requested a review from a team as a code owner December 5, 2025 20:15
@justinkambic justinkambic added release_note:fix backport:skip This PR does not require backporting Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. v9.3.0 labels Dec 5, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/actionable-obs-team (Team:actionable-obs)

@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 5, 2025

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #20 / Alerting builtin alertTypes es_query rule runs correctly: threshold on ungrouped hit count < >

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
synthetics 1.0MB 1.0MB -414.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
synthetics 54 53 -1

Total ESLint disabled count

id before after diff
synthetics 60 59 -1

History

cc @justinkambic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:fix Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. Team:obs-ux-management v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Synthetics] Refactor Default Alert Rule Creation Logic for Monitor Management

2 participants