elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.65k stars 8.23k forks source link

[Synthetics] Requests from the Kibana to Synthetics service are not batched when using bulk delete feature in Synthetics UI #193790

Closed vigneshshanmugam closed 2 weeks ago

vigneshshanmugam commented 1 month ago

Kibana version: 8.16.0

Elasticsearch version: N/A

Original install method (e.g. download page, yum, from source, etc.): Elastic Cloud

Describe the bug:

Synthetics monitors Kibana plugin issues 1 delete request per monitor to Globally managed Synthetics service API when using the bulk delete feature on the Synthetics UI. This leads to unnecessary calls to the Service and the other downstream services.

Steps to reproduce:

  1. Create a Synthetics project
  2. Create about 10 monitors
  3. Delete all the monitors via the UI bulk delete
  4. Observe the requests on the Service side.

Expected behavior: Kibana API should batch all monitors that are necessary to be deleted and send a single request to the Synthetics globally managed service API.

Screenshots (if relevant):

Image

Any additional context:

Slack thread - https://elastic.slack.com/archives/CE4MRBU48/p1727117234432879

elasticmachine commented 1 month ago

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