Commit f955226
authored
docs: extend NaN/Inf guidance to cover runtime query boundaries (#182)
The Float parsing section only covered strconv.ParseFloat. The SLO
monitor bug (PR #167) showed that Prometheus queries and other external
systems can return NaN/Inf at runtime without any string parsing. Broaden
the rule to cover all float64 values received from external boundaries.
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>1 parent aa41ba6 commit f955226
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
102 | 109 | | |
103 | 110 | | |
104 | 111 | | |
| |||
0 commit comments