NavigationContentFooter
Jump toSuggest an edit

How to monitor your Serverless Functions

Reviewed on 22 April 2024Published on 22 April 2024

Scaleway Serverless Functions is fully integrated into Cockpit, and allows you to quickly access your logs and metrics. This page explains how to get started with Scaleway Cockpit to monitor your Serverless Functions.

Tip

Use your Cockpit logs and metrics to fine-tune the resources allocated to your Serverless Functions to avoid bottlenecks and over-provisioning.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • Created a Serverless Function

How to activate your Cockpit

Scaleway Cockpit is activated by default if you have created Scaleway resources integrated with Cockpit.

How to access the Grafana dashboard

To view your Serverless Functions logs, use the Grafana dashboard which is accessible from the Scaleway console:

  • First you must create a user and their associated credentials (a username and password) for Grafana.
  • Then use these credentials to access the Grafana dashboard for all your Scaleway products, via the Scaleway console.
  1. Create a Grafana user and retrieve their username and password by following this procedure.

  2. From the Scaleway console Cockpit overview page, click Open dashboards in the top right corner.

  3. Enter your Grafana username and password to log in.

    You are directed to the Scaleway Cockpit dashboards homepage.

  4. From the Scaleway Dashboards panel, select:

    • Serverless Functions logs to access the logs of your functions.
    • Serverless Functions Overview to access the metrics of your functions.

You are directed to the selected dashboard. You can use the filters at the top of the page to refine the displayed information.

Note

You can also access your Serverless Functions logs and metrics from the console via the Logging and Metrics tabs of a function.

See also
How to secure a functionHow to delete a function
Docs APIScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCarreer
© 2023-2024 – Scaleway