We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5662230 commit 081f6baCopy full SHA for 081f6ba
tests/slo/internal/metrics/metrics.go
@@ -329,14 +329,14 @@ func (m *Metrics) TimeoutsTotal() float64 {
329
}
330
331
func (m *Metrics) FailOnError() {
332
- if m.ErrorsTotal()*100 > m.OperationsTotal() {
+ if m.ErrorsTotal()*20 > m.OperationsTotal() { //95%
333
log.Panicf(
334
"unretriable (or not successfully retried) errors: %.0f errors out of %.0f operations",
335
m.ErrorsTotal(),
336
m.OperationsTotal(),
337
)
338
339
- if m.TimeoutsTotal()*100 > m.OperationsTotal() {
+ if m.TimeoutsTotal()*20 > m.OperationsTotal() {
340
341
"user timeouts: %.0f timeouts out of %.0f operations",
342
m.TimeoutsTotal(),
0 commit comments