LCP FIP CLS Metric Alerts give error when setting same value for Warning and Resolved when value is less than 1
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 624
Description
### Environment
SaaS (https://sentry.io/)
### Steps to Reproduce
1 . Create a LCP FIP or CLS Metric Alert
2. Input the same value for Warning and Resolved that is less than 1 (ie. 0.1)
3. Get Error message below.
It works when the value is 1 or higher (ie. 1)
**Impossible to create this CLS alert from the example page -**
**Error Appears below -**
**Works When there is no decimal place -**
### Expected Result
Giving the same value of 0.5, 0.5 for Warning and Resolved should work based on the example in the alert creation page.
### Actual Result
Current work around will be to set something like this 0.5, and 0.4999
### Product Area
Alerts
### Link
https://francisorg.sentry.io/alerts/rules/details/146504/
### DSN
_No response_
### Version
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.