influxdata / influxdata/influxdb
Table/Single-Stat thresholds should have different comparison operators for different types
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
Currently, table/single-stat thresholds only have a `<=` comparison operator. This only makes sense for numeric type columns. We should give different options for the different types.

#### String
- [ ] `==`
- [ ] `!=`
- [ ] `~=`
#### Numeric
- [ ] `==`
- [ ] `!=`
- [ ] `<=`
- [ ] `>=`
- [ ] `<`
- [ ] `>`
Contributor guide
Research direction
Start by locating the table and single-stat threshold handling and determine how the current <= operator is applied to column types. Compare the available string and numeric operators with the issue checklist. Done means both visualizations offer the appropriate operators for each type and threshold comparisons behave accordingly.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100