elastic / uptime

This project includes resources and general issue tracking for the Elastic Uptime solution
12 stars 3 forks source link

Simplified "Single Monitor" browser type #426

Closed andrewvc closed 2 years ago

andrewvc commented 2 years ago

For users who want to just load a single page and test that it works in a browser, they must write a small synthetics script. We should create a new simplified workflow for this, whereby:

  1. We have a new source type in heartbeat of url, that takes a single URL and checks that it loads
  2. The synthetics has a new mode whereby it can simply load a single URL
  3. The same settings are exposed in the Kibana UI

Open Questions:

  1. What level of validation should we perform?
  2. How do we determine the page is 'done'?
paulb-elastic commented 2 years ago

I agree this is a good idea to make it easy to set up monitors with a single URL. I also agree that there needs to be some assertion to check the page is loaded as expected. A couple of points that come to mind:

paulb-elastic commented 2 years ago

Discussed in refinement, input will have a URL and text input (to be on the loaded page) only

paulb-elastic commented 2 years ago

Here is an example of the new flow

image

Open Questions:

  1. What level of validation should we perform?
  2. How do we determine the page is 'done'?

Validation:

Page done:

paulb-elastic commented 2 years ago

Requirements are going to be moved from here to https://github.com/elastic/kibana/issues/128473 (cc @drewpost @hbharding)

paulb-elastic commented 2 years ago

This is covered in https://github.com/elastic/kibana/issues/128473 (with the addition of the assertion requirement as mentioned in https://github.com/elastic/kibana/issues/128473#issuecomment-1147524569)