NavigationContentFooter
Jump toSuggest an edit
Was this page helpful?

Cockpit - Concepts

Reviewed on 03 April 2025

AgentLink to this anchor

An agent is a software component that runs on your systems to gather data types from the host system or applications running on it. The agent then forwards this data to Cockpit for analysis and visualization.

Tip

Find out how to configure the Grafana Alloy agent to collect and send your data to Cockpit.

AlertingLink to this anchor

Alerting detects complex conditions defined by a rule and keeps you aware of issues in your environments. When a condition defined by a rule is met, the rule tracks it as an alert and responds by triggering one or more actions.

Alert managerLink to this anchor

Scaleway’s regionalized alert manager allows you to manage and respond to alerts according to the regions you have enabled it in. It handles alerts sent when the alerting rules we run are firing. The alert manager triggers alerts (e.g. emails or texts) if a criteria you have configured on your applications’ metrics and logs is activated.

Important

Scaleway does not support the Grafana alert manager on the Grafana interface. You must select the Scaleway Alerting alert manager if you want to manage your alerts using Grafana.

Alerting rulesLink to this anchor

Alerting rules allow you to define criteria that determine whether an alert is triggered. The rule consists of queries and expressions, a condition, the frequency of evaluation, and the duration over which the condition is met. They act as alarm sensors: when an alert is triggered, a notification is sent to the alert manager, which forwards the notification to receivers.

Note

If you plan on setting up alerting rules with Grafana, use the Mimir or Loki alerts rather than the Grafana managed alert.

CockpitLink to this anchor

A Cockpit is an instance of the Observability product that stores metrics, logs, and traces and provides a dedicated dashboarding system on Grafana to visualize them. A Scaleway Project can have only one Cockpit, which is automatically activated when you are using Scaleway resources that are integrated into Cockpit.

Cockpit tokensLink to this anchor

Tokens are regionalized secret keys that allow you to authenticate against the endpoints of your Cockpit’s data sources (metrics, logs, alerts). You can generate new tokens and select token permissions such as:

  • Push: allows you to send your metrics, logs, and traces to your Cockpit.
  • Query: allows you to fetch your metrics, logs, and traces from your Cockpit.
  • Rules: allow you to configure alerting and recording rules.
  • Alerts: allow you to set up the alert manager.

Contact pointsLink to this anchor

Contact points define who is notified when an alert fires, according to the region in which you have added them. Contact points include emails, Slack, on-call systems, and texts. When an alert fires, all contact points are notified.

Custom dataLink to this anchor

Custom data is any data (metrics, logs or traces) that you may push to Cockpit. It can be data collected from your applications hosted at Scaleway or elsewhere.

Data sourcesLink to this anchor

Data sources are regionalized backends that allow you to store and fetch your metrics, logs, and traces. By default, Scaleway data sources are enabled if you are using Scaleway resources integrated with Cockpit on your Project.

Scaleway data sources are read-only.

You can create additional custom data sources in the Paris, Amsterdam, and Warsaw regions, from your own external resources.

Data typesLink to this anchor

Data types refer to the categories of data you can collect for monitoring and observability. There are three data types:

  • Metrics, which are numeric measurements. They are used for performance monitoring.
  • Logs, which are textual records of events generated by your applications. They are used for event and error monitoring.
  • Traces, which are data structures that represent the path of a request. They are used for request-behavior-monitoring.

EndpointsLink to this anchor

An endpoint is the point of entry in a communication channel when two systems are interacting. The endpoint is the means from which the API can access the resources they need from a server to perform their task. An endpoint can include a URL of a server or service. The Observability Cockpit provides four endpoints:

  • A Prometheus-compatible endpoint responsible for dealing with metrics
  • A Loki-compatible endpoint responsible for dealing with logs
  • A Prometheus-compatible endpoint responsible for configuring your alert manager
  • A Tempo-compatible endpoint responsible for dealing with traces
Important
  • Having the default configuration on your agents might lead to more of your resources’ metrics being sent, a high consumption and a high bill at the end of the month.
  • Sending metrics, logs and traces for Scaleway resources or personal data using an external path is a billable feature. In addition, any data that you push yourself is billed, even if you send data from Scaleway products. Refer to the product pricing for more information.

Grafana usersLink to this anchor

A Grafana user is any individual who can log in to Grafana. Each user is associated with a role. There are two types of roles a user can have:

  • a viewer: can only view dashboards
  • an editor: can build and view dashboards
Note
  • Preconfigured dashboards in the “Scaleway” folder are always read-only, regardless of your role.
  • The admin user is not yet available for creation.

LokiLink to this anchor

Loki is the log aggregation system used by Grafana to store and query your logs.

LogsLink to this anchor

Logs are a data type that provides a record of all events and errors taking place during the lifecycle of your resources. They represent an excellent source of visibility if you want to know when a problem occurred, or which events correlate with it.

You can push logs with any Loki-compatible agent such as Promtail, Fluentd, Fluent Bit or Logstash.

Preconfigured alertsLink to this anchor

Preconfigured alerts are regionalized alerting rules that Scaleway defines for you. They are active in all the regions where you have enabled the alert manager. You can think of them as alarm sensors. They allow you to receive alerts for behaviors that we deem abnormal on your resources. Preconfigured alerts only apply to the metrics and logs of your Scaleway resources.

Note

You must enable the alert manager to enable preconfigured alerts. Preconfigured alerts will only be active in the regions where you have enabled the alert manager.

MetricLink to this anchor

A metric is a lifecycle-related numerical representation of data (e.g. disk usage and CPU usage) measured over intervals of time. Metrics give you a bird’s eye view of your infrastructure.

You can push metrics with any Prometheus-compatible agent such as Prometheus, Grafana or OpenTelemetry Collector.

MimirLink to this anchor

Grafana Mimir is an open source software project that allows you to store your metrics by providing long-term storage for Prometheus.

Preconfigured dashboardsLink to this anchor

A preconfigured dashboard is a set of one or more panels that Scaleway sets up and updates for you to visualize the metrics and logs associated with your Scaleway products.

ReceiversLink to this anchor

Receivers are hubs consisting of contact points. You can associate one or several alerts with one or more receivers. This allows you to diversify your alerts.

RegionLink to this anchor

A region is the geographical area in which your Cockpit data is stored. They are duplicated on all Availability Zones of the selected regions (Paris, Amsterdam, or Warsaw).

You can decide in which region to enable the alert manager and your preconfigured alerts. You can also choose the regions in which to create your data types, data sources, and tokens.

RetentionLink to this anchor

Retention or data retention refers to the duration for which the data (metrics, logs, and traces) pushed to Cockpit (by Scaleway products or yourself) is stored before being automatically deleted. Retention allows you to manage the lifecycle of your Scaleway and custom data by selecting storage periods that align with your needs.

The minimum and maximum retention periods for each data source type are as follows:

Retention periodCustom metricsCustom logs/tracesScaleway metricsScaleway logs
Minimum retention1 day1 days31 days1 day
Maximum retention365 days (1 year)31 days365 days (1 year)31 days
Default retention31 days7 days31 days7 days

Starting May 1, 2025, the maximum retention period for custom and Scaleway metrics, logs and traces will be of 1825 days (5 years). The information on the table above will be updated accordingly.

SamplesLink to this anchor

A sample is a unique measuring point on a time series.

Scaleway dataLink to this anchor

Scaleway data is the observability data (metrics and/or logs) that is natively collected by all Scaleway products, integrated with Cockpit. Refer to the dedicated documentation page to find out which resources are integrated with Cockpit.

TempoLink to this anchor

Tempo is Grafana’s open source tracing tool that allows you to search for traces, generate metrics from them, and link your tracing data with logs and metrics. Tempo can be used with open-source tracing protocols such as Jaeger, Zipkin, and OpenTelemetry.

Scaleway only supports the OpenTelemetry HTTP push path.

Time seriesLink to this anchor

A time series is a sequence of numerical data points in successive order, that tracks the value of a parameter over time. Example of parameter: the disk usage of a machine hosting a database, expressed in percentage.

TracesLink to this anchor

Traces are detailed records of your requests’ behavior, as they move through distributed systems such as microservices and containers.

Traces are an effective way to identify performance issues and bottlenecks in your environments, as they break down what happens within a request and provide information such as the moment a request starts and finishes, the events that occur, and their duration, as well as additional context.

You can push traces with the Tempo-compatible agent supported by Scaleway: OpenTelemetry.

Scaleway only supports the OpenTelemetry agent for pushing traces.

Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2025 – Scaleway