You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can view your Edge Services metrics via [Scaleway Cockpit](/cockpit/quickstart/). This allows you to monitor your ingress, egress, request rate, and cache hit ratio as well as other metrics, in a convenient managed Grafana dashboard.
13
+
You can view your Edge Services metrics and logs via [Scaleway Cockpit](/cockpit/quickstart/). This allows you to monitor your ingress, egress, request rate, and cache hit ratio as well as other metrics and logs, in convenient managed Grafana dashboards.
13
14
14
-
Access your Edge Services dashboard in the Scaleway console via either
15
+
## Metrics
15
16
16
-
- Clicking **Track your Edge Services metrics with Cockpit** shortcut in the **Edge Services** dashboard of the pipeline in question.
17
-
- The **Metrics** tab in the **Edge Services** section of the console.
17
+
### How to access the metrics dashboard
18
+
19
+
Access your Edge Services metrics dashboard by following the instructions for accessing a preconfigured Grafana dashboard via [Cockpit](/cockpit/how-to/access-grafana-and-managed-dashboards/), and selecting the **Edge Services Overview** dashboard from the list of Scaleway dashboards.
20
+
21
+
<Messagetype="tip">
22
+
Alternatively, you can click the **Track your Edge Services metrics with Cockpit** shortcut in the **Edge Services** dashboard of the pipeline in question, or the **Metrics** tab in the **Edge Services** section of the console.
23
+
</Message>
18
24
19
25
Note that you will first need to [create a Grafana user and credentials](/cockpit/how-to/retrieve-grafana-credentials/).
20
26
21
-
### Understanding the dashboard
27
+
### Understanding the metrics dashboard
22
28
23
29
The Grafana dashboard presents a number of different metrics. Use the drop-down in the top left to select which pipeline and origin to view Edge Services metrics for, and the time range drop-down in the top right to modify the time period to apply to the metrics.
24
30
25
-
<Lightboximage={image}alt="A screenshot of the Grafana dashboard for Edge Services, with all the sections detailed in the following text." />
31
+
The screenshot below shows an example of Edge Services metrics for a given pipeline:
32
+
33
+
<Lightboximage={EdgeServicesMetrics}alt="A screenshot of the Grafana metrics dashboard for Edge Services, with all the sections detailed in the following text." />
26
34
27
35
-**Request rate**: The number of requests made to Edge Services per second, for the specified origin, averaged over the specified time period.
28
36
-**Cache hit ratio**: The percentage of requests served from Edge Services' cache, compared to the total number of requests in total to Edge Services for this origin, over the specified time period.
@@ -42,3 +50,29 @@ The Grafana dashboard presents a number of different metrics. Use the drop-down
42
50
43
51
-**Request origin country**: The proportion of requests (to Edge Services for the specified origin over the specified time period) originating from different countries.
44
52
-**End users location**: A visual representation of where Edge Services end users have been making requests from geographically.
53
+
54
+
## Logs
55
+
56
+
### How to access the logs dashboard
57
+
58
+
Access your Edge Services logs dashboard by following the instructions for accessing a preconfigured Grafana dashboard via [Cockpit](/cockpit/how-to/access-grafana-and-managed-dashboards/), and selecting the **Edge Services Logs** dashboard from the list of Scaleway dashboards.
59
+
60
+
### Understanding the logs dashboard
61
+
62
+
The Grafana dashboard presents a centralized and detailed view of HTTP requests handled by a given Edge Services pipeline. It captures and displays logs for each requests/response. Use the drop-down in the top left of the screen to select which pipeline's logs to view, and to define the log level. In the top right, use the time range drop-down in the top right to modify the time period to apply.
63
+
64
+
The screenshot below shows an example of Edge Services logs for a given pipeline:
65
+
66
+
<Lightboximage={EdgeServicesLogs}alt="A screenshot of the Grafana logs dashboard for Edge Services, with all the sections detailed in the following text." />
67
+
68
+
-**Level**: Severity of the log entry, either `error`, `warn`, or `info`.
69
+
-**Time**: Date and time of the logged event.
70
+
-**Client IP**: IP address of the client (user or system) that initiated the request.
71
+
-**Method**: HTTP method used in the request, e.g. `GET`, `POST`, `PUT` etc.
72
+
-**Schema**: Specifies whether the request was made over HTTP or HTTPS.
73
+
-**Host**: Server that received the request.
74
+
-**Path**: Specific resource path that the client is requesting.
75
+
-**Version**: HTTP protocol version used in the request, e.g. `HTTP/2`.
76
+
-**Code Client** HTTP status code returned to the client, e.g. `503`, `200`, `403`.
77
+
-**Code origin**: HTTP status code generated by the origin/backend server that processed the request.
78
+
-**Content type**: Type of content returned in teh response, e.g. `text/html`, `application/json`.
0 commit comments