[Synthetics] Monitor add route allows duplicate monitor names #175759
Labels
bug
Fixes for quality problems that affect the customer experience
Synthetics
Team:obs-ux-management
Observability Management User Experience Team
Kibana version: 8.12.0
Elasticsearch version:
Server OS version:
Browser version:
Browser OS version:
Original install method (e.g. download page, yum, from source, etc.):
Tested on 8.13.0-SNAPSHOT
Describe the bug:
Although the Synthetics UI validates the monitor for duplicate names but the server route does not. So if there's some re-trying due to how the browser or the network behaves, it may recreate many duplicate monitors.
Steps to reproduce:
/internal/synthetics/service/monitors
route.Expected behavior:
The route should return Baa Request with error message that a monitor with the same name has already been created.
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The issue has been reported on forum.
The text was updated successfully, but these errors were encountered: