From c8010b5a2aea4b8ce6ba0da947ce44cf5de1fbff Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Thu, 19 Dec 2024 14:49:03 +0100 Subject: [PATCH 1/4] feat(jobs): troubleshooting missing metrics --- .../jobs/troubleshooting/missing-metrics.mdx | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 serverless/jobs/troubleshooting/missing-metrics.mdx diff --git a/serverless/jobs/troubleshooting/missing-metrics.mdx b/serverless/jobs/troubleshooting/missing-metrics.mdx new file mode 100644 index 0000000000..6f2261619d --- /dev/null +++ b/serverless/jobs/troubleshooting/missing-metrics.mdx @@ -0,0 +1,27 @@ +--- +meta: + title: Missing metrics for my Job Run + description: Troubleshoot missing metrics for Scaleway Serverless Jobs. +content: + h1: Missing metrics for my Job Run + paragraph: Troubleshoot missing metrics for Scaleway Serverless Jobs. +tags: serverless jobs troubleshooting issue missing metrics +dates: + validation: 2024-12-19 + posted: 2024-12-19 +categories: + - serverless +--- + +## Problem + +I can't see metrics partially or totally for my Serverless Job. + +## Cause + +Metrics for Serverless Jobs technically limited for very short Jobs under `15` seconds. + +## Possible solutions + +- If your Job takes more than around `15` seconds and metrics are still missing, it can be due to a [scheduled maintenance](https://status.scaleway.com/). If that's not the case please open a support ticket. +- For very short Jobs, if you need the metrics you can add a `sleep` in your workflow. \ No newline at end of file From 48a2c7bc03e4739cb400fedc011f339c0865ad8f Mon Sep 17 00:00:00 2001 From: Thomas Tacquet Date: Thu, 19 Dec 2024 14:50:22 +0100 Subject: [PATCH 2/4] note --- serverless/jobs/troubleshooting/missing-metrics.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/serverless/jobs/troubleshooting/missing-metrics.mdx b/serverless/jobs/troubleshooting/missing-metrics.mdx index 6f2261619d..78488220d3 100644 --- a/serverless/jobs/troubleshooting/missing-metrics.mdx +++ b/serverless/jobs/troubleshooting/missing-metrics.mdx @@ -24,4 +24,8 @@ Metrics for Serverless Jobs technically limited for very short Jobs under `15` s ## Possible solutions - If your Job takes more than around `15` seconds and metrics are still missing, it can be due to a [scheduled maintenance](https://status.scaleway.com/). If that's not the case please open a support ticket. -- For very short Jobs, if you need the metrics you can add a `sleep` in your workflow. \ No newline at end of file +- For very short Jobs, if you need the metrics you can add a `sleep` in your workflow. + +### Note + +Gradually we will improve metrics for short Jobs. \ No newline at end of file From 9fa6e32f702b7744fe8b4ee5ede15402af5f1c4c Mon Sep 17 00:00:00 2001 From: Thomas TACQUET Date: Thu, 19 Dec 2024 18:02:46 +0100 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: ldecarvalho-doc <82805470+ldecarvalho-doc@users.noreply.github.com> --- serverless/jobs/troubleshooting/missing-metrics.mdx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/serverless/jobs/troubleshooting/missing-metrics.mdx b/serverless/jobs/troubleshooting/missing-metrics.mdx index 78488220d3..b188b0f27a 100644 --- a/serverless/jobs/troubleshooting/missing-metrics.mdx +++ b/serverless/jobs/troubleshooting/missing-metrics.mdx @@ -23,9 +23,5 @@ Metrics for Serverless Jobs technically limited for very short Jobs under `15` s ## Possible solutions -- If your Job takes more than around `15` seconds and metrics are still missing, it can be due to a [scheduled maintenance](https://status.scaleway.com/). If that's not the case please open a support ticket. -- For very short Jobs, if you need the metrics you can add a `sleep` in your workflow. - -### Note - -Gradually we will improve metrics for short Jobs. \ No newline at end of file +- If your Job takes more than `15` seconds and metrics are still missing, it can be due to a [scheduled maintenance](https://status.scaleway.com/). If this is not the case, you can open a support ticket to report the issue. +- For very short Jobs, you can add `sleep` to your workflow if you need the metrics. From 2ab964ed408bf844889b67917d28d61b35771ce2 Mon Sep 17 00:00:00 2001 From: Thomas TACQUET Date: Fri, 20 Dec 2024 19:41:53 +0100 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: Jessica <113192637+jcirinosclwy@users.noreply.github.com> --- serverless/jobs/troubleshooting/missing-metrics.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/serverless/jobs/troubleshooting/missing-metrics.mdx b/serverless/jobs/troubleshooting/missing-metrics.mdx index b188b0f27a..283226ca5e 100644 --- a/serverless/jobs/troubleshooting/missing-metrics.mdx +++ b/serverless/jobs/troubleshooting/missing-metrics.mdx @@ -19,9 +19,9 @@ I can't see metrics partially or totally for my Serverless Job. ## Cause -Metrics for Serverless Jobs technically limited for very short Jobs under `15` seconds. +Metrics for Serverless Jobs are technically limited for very short jobs under `15` seconds. ## Possible solutions -- If your Job takes more than `15` seconds and metrics are still missing, it can be due to a [scheduled maintenance](https://status.scaleway.com/). If this is not the case, you can open a support ticket to report the issue. -- For very short Jobs, you can add `sleep` to your workflow if you need the metrics. +- If your job takes more than `15` seconds and metrics are still missing, it can be due to a [scheduled maintenance](https://status.scaleway.com/). If this is not the case, you can open a support ticket to report the issue. +- For very short jobs, you can add `sleep` to your workflow if you need the metrics.