@@ -194,23 +194,22 @@ groups:
194
194
runbook_url : https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscaleCacheHighNumberOfEvictions.md
195
195
- name : promscale-database-connection
196
196
rules :
197
- - alert : PromscaleDBHighErrorRate
197
+ - alert : PromscaleStorageHighErrorRate
198
198
expr : |
199
199
(
200
- sum by (job, instance, namespace) (
201
- # Error counter exists for query, query_row & exec, and not for send_batch.
202
- rate(promscale_database_request_errors_total{method=~"query.*|exec"}[5m])
200
+ sum by (job, instance, namespace, method) (
201
+ rate(promscale_database_request_errors_total[5m])
203
202
)
204
203
/
205
- sum by (job, instance, namespace) (
206
- rate(promscale_database_requests_total{method=~"query.*|exec"} [5m])
204
+ sum by (job, instance, namespace, method ) (
205
+ rate(promscale_database_requests_total[5m])
207
206
)
208
207
) > 0.05
209
208
labels :
210
209
severity : warning
211
210
annotations :
212
211
summary : Promscale experiences a high error rate when connecting to the database.
213
- description : " Promscale connection with the database has an error of {{ $value | humanizePercentage }}."
212
+ description : " Promscale connection with the database has an error rate of {{ $value | humanizePercentage }}."
214
213
runbook_url : https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscaleDBHighErrorRate.md
215
214
- alert : PromscaleStorageHighLatency
216
215
expr : |
0 commit comments