1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-14 11:37:31 +00:00

assets,site/content: daily assets regeneration

This commit is contained in:
github-actions[bot] 2023-01-10 03:22:38 +00:00
parent c57aa30c0f
commit 345a7ab63a
2 changed files with 67 additions and 23 deletions

View file

@ -106,22 +106,40 @@ groups:
rules:
- alert: PromscaleQueryHighErrorRate
annotations:
description: Evaluating queries via Promscale has {{ $value | humanizePercentage
}} error rate.
description: Evaluating queries via Promscale {{ $labels.handler }} endpoint
has {{ $value | humanizePercentage }} error rate.
runbook_url: https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscaleQueryHighErrorRate.md
summary: High error rate in querying Promscale.
expr: |
(
sum by (job, instance, namespace, type) (
rate(promscale_query_requests_total{code=~"5.."}[5m])
sum by (job, instance, namespace, type, handler) (
rate(promscale_query_requests_total{code=~"5..",handler!="/api/v1/query_range",err!="canceled"}[5m])
)
/
sum by (job, instance, namespace, type) (
rate(promscale_query_requests_total[5m])
sum by (job, instance, namespace, type, handler) (
rate(promscale_query_requests_total{handler!="/api/v1/query_range",err!="canceled"}[5m])
)
) > 0.05
labels:
severity: warning
- alert: PromscaleQueryHighErrorRate
annotations:
description: Evaluating queries via Promscale {{ $labels.handler }} endpoint
has {{ $value | humanizePercentage }} error rate.
runbook_url: https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscaleQueryHighErrorRate.md
summary: High error rate in querying Promscale.
expr: |
(
sum by (job, instance, namespace, type, handler) (
rate(promscale_query_requests_total{code=~"5..",handler="/api/v1/query_range",err!="canceled"}[5m])
)
/
sum by (job, instance, namespace, type, handler) (
rate(promscale_query_requests_total{handler="/api/v1/query_range",err!="canceled"}[5m])
)
) > 0.1
labels:
severity: warning
- alert: PromscaleQueryHighErrorRate
annotations:
description: Evaluating queries via Promscale had {{ $value | humanizePercentage
@ -131,7 +149,7 @@ groups:
expr: |
(
sum by (job, instance, namespace, type) (
rate(promscale_query_requests_total{code=~"5.."}[5m])
rate(promscale_query_requests_total{code=~"5..",err!="canceled"}[5m])
)
/
sum by (job, instance, namespace, type) (
@ -363,8 +381,12 @@ groups:
PostgreSQL shared_buffers. This will impact database performance.
runbook_url: https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscalePostgreSQLSharedBuffersLow.md
summary: Promscale database performance will be affected.
expr: "(\n ((promscale_sql_database_open_chunks_total_table_size + promscale_sql_database_open_chunks_total_index_size)
\n / \n promscale_sql_database_shared_buffers_size)\n > 1 )\n"
expr: |
(
((promscale_sql_database_open_chunks_total_table_size + promscale_sql_database_open_chunks_total_index_size)
/
promscale_sql_database_shared_buffers_size)
> 1 )
for: 10m
labels:
severity: warning

View file

@ -156,18 +156,18 @@ labels:
{{< code lang="yaml" >}}
alert: PromscaleQueryHighErrorRate
annotations:
description: Evaluating queries via Promscale has {{ $value | humanizePercentage
}} error rate.
description: Evaluating queries via Promscale {{ $labels.handler }} endpoint has
{{ $value | humanizePercentage }} error rate.
runbook_url: https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscaleQueryHighErrorRate.md
summary: High error rate in querying Promscale.
expr: |
(
sum by (job, instance, namespace, type) (
rate(promscale_query_requests_total{code=~"5.."}[5m])
sum by (job, instance, namespace, type, handler) (
rate(promscale_query_requests_total{code=~"5..",handler!="/api/v1/query_range",err!="canceled"}[5m])
)
/
sum by (job, instance, namespace, type) (
rate(promscale_query_requests_total[5m])
sum by (job, instance, namespace, type, handler) (
rate(promscale_query_requests_total{handler!="/api/v1/query_range",err!="canceled"}[5m])
)
) > 0.05
labels:
@ -176,6 +176,29 @@ labels:
##### PromscaleQueryHighErrorRate
{{< code lang="yaml" >}}
alert: PromscaleQueryHighErrorRate
annotations:
description: Evaluating queries via Promscale {{ $labels.handler }} endpoint has
{{ $value | humanizePercentage }} error rate.
runbook_url: https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscaleQueryHighErrorRate.md
summary: High error rate in querying Promscale.
expr: |
(
sum by (job, instance, namespace, type, handler) (
rate(promscale_query_requests_total{code=~"5..",handler="/api/v1/query_range",err!="canceled"}[5m])
)
/
sum by (job, instance, namespace, type, handler) (
rate(promscale_query_requests_total{handler="/api/v1/query_range",err!="canceled"}[5m])
)
) > 0.1
labels:
severity: warning
{{< /code >}}
##### PromscaleQueryHighErrorRate
{{< code lang="yaml" >}}
alert: PromscaleQueryHighErrorRate
annotations:
@ -186,7 +209,7 @@ annotations:
expr: |
(
sum by (job, instance, namespace, type) (
rate(promscale_query_requests_total{code=~"5.."}[5m])
rate(promscale_query_requests_total{code=~"5..",err!="canceled"}[5m])
)
/
sum by (job, instance, namespace, type) (
@ -473,13 +496,12 @@ annotations:
shared_buffers. This will impact database performance.
runbook_url: https://github.com/timescale/promscale/blob/master/docs/runbooks/PromscalePostgreSQLSharedBuffersLow.md
summary: Promscale database performance will be affected.
expr: "(
((promscale_sql_database_open_chunks_total_table_size + promscale_sql_database_open_chunks_total_index_size)
/
promscale_sql_database_shared_buffers_size)
> 1 )
"
expr: |
(
((promscale_sql_database_open_chunks_total_table_size + promscale_sql_database_open_chunks_total_index_size)
/
promscale_sql_database_shared_buffers_size)
> 1 )
for: 10m
labels:
severity: warning