Skip to navigationSkip to main contentSkip to footerScaleway Docs

How to monitor logs and metrics for Serverless Jobs

You can monitor the activity of your Serverless Jobs using the Scaleway console to check the current status, RAM, and CPU consumption of your runs. Also, Serverless Jobs is fully integrated into Scaleway’s Observability Cockpit, and allows you to quickly access your logs.

Before you start

To complete the actions presented below, you must have:

How to monitor your Serverless Jobs from the Scaleway console

Scaleway Cockpit allows you to monitor your applications and their infrastructure by giving you access to metrics, logs, and traces in Grafana dashboards.

Make sure that you have created a Grafana user and retrieved their username and password.

Monitor the activity of a job

  1. Click Jobs in the Serverless section of the side menu. The jobs page displays.

  2. Click the name of the job you want to monitor. The Overview tab displays:

    • The Job definition section contains the parameters of your Serverless job, and provides the following elements:
      • Region
      • Provisioned mvCPU and memory
      • Provisioned ephemeral storage
      • Container image used
      • Cron schedule
    • The Job runs section lists all the executions of your Serverless job, and provides the following elements:
      • Status (running, succeeded, canceled, or failed)
      • Run ID
      • Starting date
      • End date
      • Duration
  3. From the job overview:

    • Select the Logs tab, then click Open Grafana logs dashboard to access the logs of the job.
    • Select the Metrics tab, then click Open Grafana metrics dashboard to access the metrics of the job.

Monitor the activity of a specific job run

  1. Click Jobs in the Serverless section of the side menu. The jobs page displays.

  2. Click the name of the job you want to monitor. The Overview tab displays.

  3. Click more icon next to the job run you want to monitor, then:

    • Click Metrics to access the Grafana metrics overview page for this job run.
    • Click Logs to access the Grafana logs page for this job run.

    You are directed to the selected Grafana dashboard.

Available metrics

The following metrics are available to monitor your Serverless Jobs:

  • Job runs running
  • Execution time for job runs
  • Job runs succeeded
  • Job runs failed
  • Job runs canceled
  • Job runs internal error
  • CPU usage - All
  • Memory usage - All
Still need help?

Create a support ticket
No Results