elastic / uptime

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

[META] Reconcile spaces with monitor management and data views #463

Closed andrewvc closed 2 years ago

andrewvc commented 2 years ago

With the new monitor management feature we now have monitors defined using saved objects in kibana. This creates a situation where the data visible in the Uptime app is contingent on the space in-use. The app reads from two places:

  1. Data streams
  2. Kibana saved objects

It is currently up to the user to configure this which is confusing. If a user creates monitors in spaces A and B, they will see data from both spaces in the Uptime app (except the monitor management UI).

This issue proposes that we automatically set the namespace for monitors created in monitor management to the space name. It also proposes that we, by default, use that in the index pattern used in the Uptime app settings page.

If we agree this makes sense we'll need to figure out if we need to do some level of migration from our current strategy to this one for current users.

Related to https://github.com/elastic/kibana/issues/128192 , it opens a question of where data views fit in here. Data views assume that users want the opposite of this strong coupling. This issue proposes we deviate from the 'standard' way o11y works, which presumes that configuration of data generating things is separate from the viewing of them.

Tasks:

andrewvc commented 2 years ago

CC @drewpost @liciavale thoughts on the UX here?

andrewvc commented 2 years ago

Closed due to a new approach of filtering based on saved objects