Skip to content

Commit da60bc6

Browse files
committed
docs(srv): update
1 parent c191f35 commit da60bc6

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

pages/serverless-containers/how-to/configure-alerts-containers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This page shows you how to configure alerts for Scaleway Serverless Containers u
2121
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2222
- Scaleway resources you can monitor
2323
- [Created Grafana credentials](/cockpit/how-to/retrieve-grafana-credentials/) with the **Editor** role
24-
- [Enabled](/cockpit/how-to/enable-alert-manager/) the alert manager, and [activated preconfigured alerts](/cockpit/how-to/activate-managed-alerts/)
24+
- [Enabled](/cockpit/how-to/enable-alert-manager/) the alert manager
2525
- [Created](/cockpit/how-to/add-contact-points/) at least one contact point
2626
- Selected the **Scaleway Alerting** alert manager in Grafana
2727

pages/serverless-functions/how-to/configure-alerts-function.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This page shows you how to configure alerts for Scaleway Serverless Functions us
2121
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2222
- Scaleway resources you can monitor
2323
- [Created Grafana credentials](/cockpit/how-to/retrieve-grafana-credentials/) with the **Editor** role
24-
- [Enabled](/cockpit/how-to/enable-alert-manager/) the alert manager, and [activated preconfigured alerts](/cockpit/how-to/activate-managed-alerts/)
24+
- [Enabled](/cockpit/how-to/enable-alert-manager/) the alert manager
2525
- [Created](/cockpit/how-to/add-contact-points/) at least one contact point
2626
- Selected the **Scaleway Alerting** alert manager in Grafana
2727

pages/serverless-jobs/how-to/configure-alerts-jobs.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This page shows you how to configure alerts for Scaleway Serverless Jobs using S
2121
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2222
- Scaleway resources you can monitor
2323
- [Created Grafana credentials](/cockpit/how-to/retrieve-grafana-credentials/) with the **Editor** role
24-
- [Enabled](/cockpit/how-to/enable-alert-manager/) the alert manager, and [activated preconfigured alerts](/cockpit/how-to/activate-managed-alerts/)
24+
- [Enabled](/cockpit/how-to/enable-alert-manager/) the alert manager
2525
- [Created](/cockpit/how-to/add-contact-points/) at least one contact point
2626
- Selected the **Scaleway Alerting** alert manager in Grafana
2727

@@ -53,7 +53,7 @@ Query and alert condition
5353

5454
Description
5555

56-
: Job run `{{ $labels.resource_id }}` from the job def `{{ $labels.resource_name }}` finish in error. Check the console to find out the error message.
56+
: Job run `{{ $labels.resource_id }}` from the job definition `{{ $labels.resource_name }}` finish in error. Check the console to find out the error message.
5757

5858
**JobError**
5959

@@ -71,7 +71,7 @@ Query and alert condition
7171

7272
Description
7373

74-
: Job run `{{ $labels.resource_id }}` from the job def `{{ $labels.resource_name }}` finish in error. Check the console to find out the error message.
74+
: Job run `{{ $labels.resource_id }}` from the job definition `{{ $labels.resource_name }}` finish in error. Check the console to find out the error message.
7575

7676
**AnyJobHighCPUUsage**
7777

@@ -89,7 +89,7 @@ Query and alert condition
8989

9090
Description
9191

92-
: Job run `{{ $labels.resource_name }}` from the job def `{{ $labels.resource_name }}` is using more than `{{ printf "%.0f" $value }}`% of its available CPU since 10s.
92+
: Job run `{{ $labels.resource_name }}` from the job definition `{{ $labels.resource_name }}` is using more than `{{ printf "%.0f" $value }}`% of its available CPU since 10s.
9393

9494
**JobHighCPUUsage**
9595

@@ -99,15 +99,15 @@ Pending period
9999

100100
Summary
101101

102-
: High CPU usage for job run `{{ $labels.resource_id }}`.
102+
: High CPU usage for job run `{{ $labels.resource_job definition }}`.
103103

104104
Query and alert condition
105105

106106
: `serverless_job_run:cpu_usage_seconds_total:rate30s{resource_name="your-job-name-here"} / serverless_job_run:cpu_limit{resource_name="your-job-name-here"} * 100 > 90`
107107

108108
Description
109109

110-
: Job run `{{ $labels.resource_name }}` from the job def `{{ $labels.resource_name }}` is using more than `{{ printf "%.0f" $value }}`% of its available CPU since 10s.
110+
: Job run `{{ $labels.resource_name }}` from the job definition `{{ $labels.resource_name }}` is using more than `{{ printf "%.0f" $value }}`% of its available CPU since 10s.
111111

112112
**AnyJobHighMemoryUsage**
113113

@@ -117,15 +117,15 @@ Pending period
117117

118118
Summary
119119

120-
: High memory usage for job run `{{ $labels.resource_id }}`.
120+
: High memory usage for job run `{{ $labels.resource_job definition }}`.
121121

122122
Query and alert condition
123123

124124
: `(serverless_job_run:memory_usage_bytes / serverless_job_run:memory_limit_bytes ) * 100 > 80`
125125

126126
Description
127127

128-
: Job run `{{ $labels.resource_name }}` from the job def `{{ $labels.resource_name }}` is using more than `{{ printf "%.0f" $value }}`% of its available RAM since 10s.
128+
: Job run `{{ $labels.resource_name }}` from the job definition `{{ $labels.resource_name }}` is using more than `{{ printf "%.0f" $value }}`% of its available RAM since 10s.
129129

130130
**JobHighMemoryUsage**
131131

@@ -143,7 +143,7 @@ Query and alert condition
143143

144144
Description
145145

146-
: Job run `{{ $labels.resource_name }}` from the job def `{{ $labels.resource_name }}` is using more than `{{ printf "%.0f" $value }}`% of its available RAM since 10s.
146+
: Job run `{{ $labels.resource_name }}` from the job definition `{{ $labels.resource_name }}` is using more than `{{ printf "%.0f" $value }}`% of its available RAM since 10s.
147147

148148
8. Select labels that apply to the metric you have selected in the previous step, to target your desired resources and fine-tune your alert.
149149
9. Select one or more values for your labels.

0 commit comments

Comments
 (0)