Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion observability/cockpit/concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ content:
paragraph: Explore Scaleway Observability concepts including metrics, logs, and alerts management through Cockpit. Learn about agents, alerting rules, Grafana integration, and data types for comprehensive monitoring.
tags: observability alert-manager contact-points endpoint grafana loki logql prometheus promql tokens
dates:
validation: 2024-06-19
validation: 2024-12-26
categories:
- observability
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ tags: observability cockpit grafana managed-dashboard
categories:
- observability
dates:
validation: 2024-06-19
validation: 2024-12-26
posted: 2022-10-31
---

Scaleway provides you with managed dashboards you can access in Grafana, for [Scaleway resources integrated with Cockpit](/observability/cockpit/reference-content/cockpit-limitations/#product-integration-into-cockpit).

This page shows you how to access [managed dashboards](/observability/cockpit/concepts/#managed-dashboards).

<Macro id="cockpit-update-dashboards" />

<Macro id="requirements" />

- A Scaleway account logged into the [console](https://console.scaleway.com)
Expand All @@ -30,7 +28,7 @@ This page shows you how to access [managed dashboards](/observability/cockpit/co
2. Click **Open dashboards** to open your managed dashboards in Grafana. You are redirected to the Grafana website.
3. Enter your [Grafana credentials](/observability/cockpit/how-to/retrieve-grafana-credentials/).
4. Click **Log in**. The Grafana overview page displays.
5. Click the **Home** icon.
5. Click the **Home** icon at the top left of your screen.
6. Click **Dashboard**. The Scaleway folder appears, with a list of all available managed dashboards for Scaleway resources.
7. Click the dashboard you want to view.

Expand Down
6 changes: 3 additions & 3 deletions observability/cockpit/how-to/activate-push-traces.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ content:
categories:
- observability cockpit traces push
dates:
validation: 2024-06-19
validation: 2024-12-26
posted: 2023-10-31
---

Expand All @@ -23,7 +23,7 @@ This page shows you how to create [traces](/observability/cockpit/concepts/#trac

1. Click **Cockpit** in the Observability section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2. Click the **Data sources** tab.
3. Click **+ Create custom data sources**. A pop-up displays.
3. Click **+ Create custom data source**. A pop-up displays.
4. Complete the required steps to create your trace:
- Enter a name
- Choose the **Traces** data type
Expand All @@ -44,7 +44,7 @@ Alternatively, you can retrieve your trace's push path from the Scaleway console
1. Click **Cockpit** in the Observability section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2. Click the **Data sources** tab.
3. Click the trace of which you want to retrieve the path. The trace's information displays.
4. Retrieve the push path under the **Push path** section.
4. Retrieve the push path under the **URL** section.

## Push traces

Expand Down
4 changes: 2 additions & 2 deletions observability/cockpit/how-to/add-contact-points.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ content:
categories:
- observability
dates:
validation: 2024-06-19
validation: 2024-12-26
posted: 2024-04-05
---

Expand All @@ -24,7 +24,7 @@ This page shows you how to associate [contact points](/observability/cockpit/con

1. Click **Cockpit** in the Observability section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2. Click the **Alerts** tab.
3. Click **Add an email** in the **Default receiver’s contact points** section. A pop-up displays.
3. Click **+ Add email** in the **Default receiver’s contact points** section. A pop-up displays.
4. Enter the email address you wish to add as a contact point.
5. Choose the regions in which you want to add the contact point.
<Message type="important">
Expand Down
6 changes: 3 additions & 3 deletions observability/cockpit/how-to/create-token.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags: cockpit observability token
categories:
- observability
dates:
validation: 2024-06-19
validation: 2024-12-26
posted: 2022-10-31
---

Expand All @@ -22,8 +22,8 @@ This page shows you how to create [tokens](/observability/cockpit/concepts/#toke

1. Click **Cockpit** in the Observability section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2. Click the **Tokens** tab.
3. Click **Create token**. A pop-up displays prompting you to create a token.
4. Choose the region to create the token in.
3. Click **+ Create token**. A pop-up displays.
4. Choose a region to create the token in.
<Message type="important">
Make sure that you create your token in the same region as the [data sources](/observability/cockpit/concepts/#data-sources) you want to use it for.
</Message>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags: cockpit observability grafana credentials
categories:
- observability
dates:
validation: 2024-06-19
validation: 2024-12-26
posted: 2022-10-31
---

Expand All @@ -23,7 +23,7 @@ This page shows you how to retrieve your Grafana credentials to access your Graf

1. Click **Cockpit** in the Observability section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2. Click the **Grafana users** tab.
3. Click **Add user**.
3. Click **+ Add user**.
4. Enter a username.
5. Select a [role](/observability/cockpit/concepts/#grafana-users) for the user.
6. Click **Add user**. Your automatically generated password to log in to Grafana displays. Make sure to copy and save it before closing the pop-up.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ tags: metrics cockpit logs observability
categories:
- observability
dates:
validation: 2024-06-19
validation: 2024-12-26
posted: 2022-10-31
---

This page shows you how to send [metrics](/observability/cockpit/concepts/#metric) and [logs](/observability/cockpit/concepts/#logs) to your [Cockpit](/observability/cockpit/concepts/#cockpit). You can push metrics with any `Prometheus Remote Write` compatible agent such as the [Prometheus](https://prometheus.io/docs/introduction/overview/), [Grafana](https://grafana.com/docs/agent/latest/) or [OpenTelemetry Collector](https://opentelemetry.io/docs/collector/) agents.
This page shows you how to send data such as [metrics](/observability/cockpit/concepts/#metric) and [logs](/observability/cockpit/concepts/#logs) to your [Cockpit](/observability/cockpit/concepts/#cockpit). You can push metrics with any `Prometheus Remote Write` compatible agent such as the [Prometheus](https://prometheus.io/docs/introduction/overview/), [Grafana](https://grafana.com/docs/agent/latest/) or [OpenTelemetry Collector](https://opentelemetry.io/docs/collector/) agents.
You can push logs with any Loki compatible agent such as the [Promtail](https://grafana.com/docs/loki/latest/clients/promtail/), [Fluentd](https://docs.fluentd.org/), [Fluent Bit](https://docs.fluentbit.io/manual/) or [Logstash](https://www.elastic.co/guide/en/logstash/current/introduction.html) agents.

<Macro id="requirements" />
Expand Down
2 changes: 1 addition & 1 deletion observability/cockpit/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ content:
paragraph: Discover how to begin with the Scaleway Observability Cockpit. Learn to set up Grafana credentials, create push tokens, and leverage Grafana agents for monitoring metrics, logs, and traces.
tags: observability cockpit
dates:
validation: 2024-06-19
validation: 2024-12-26
posted: 2022-10-31
categories:
- observability
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ content:
paragraph: Discover solutions to handle pushers that do not support custom HTTP headers.
tags: pusher token header
dates:
validation: 2024-06-19
validation: 2024-12-26
posted: 2023-04-03
categories:
- observability
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ meta:
paragraph: Reset your Grafana user password using the Scaleway API. Retrieve your Grafana user ID and reset the password with a simple curl command.
tags: grafana password credentials
dates:
validation: 2024-06-19
validation: 2024-12-26
posted: 2023-04-03
categories:
- observability
---

This page shows you how to reset your Grafana user's password through the Scaleway API.
This page shows you how to reset your Grafana user's password through the Scaleway console.

<Macro id="requirements" />

Expand All @@ -21,54 +21,8 @@ This page shows you how to reset your Grafana user's password through the Scalew
- [Installed](https://curl.se/download.html) curl


Open a terminal and paste the following command to retrieve your Grafana user ID:

```
curl --request GET \
--url 'http://api.scaleway.com/cockpit/v1beta1/grafana-users?project_id=<SCW_PROJECT_ID>' \
--header 'X-Auth-Token: $SCW_SECRET_KEY'
```

An output with a list of all Grafana users associated with your Cockpit and their IDs should display:

```
{
"total_count": 3,
"grafana_users": [
{
"id": 74,
"login": "user1",
"role": "editor",
"password": ""
},
{
"id": 8,
"login": "user2",
"role": "editor",
"password": ""
},
{
"id": 41,
"login": "user3",
"role": "editor",
"password": ""
}
]
}
```

Paste the following command to reset the password of the desired Grafana user. Make sure that you replace `{grafana_user_id}` with the ID of the relevant Grafana user.

```bash
curl -X POST \
-H "X-Auth-Token: $SCW_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"project_id":"string"}' \
"https://api.scaleway.com/cockpit/v1beta1/grafana-users/{grafana_user_id}/reset-password"
```

The output displays a new password for your Grafana user.

<Message type="important">
You can also reset a Grafana user's password from the **Grafana users** tab of the [Scaleway console](https://console.scaleway.com/cockpit/users) > Click the <Icon name="more" /> icon next to the relevant Grafana user > Click **Generate password** > **Generate new password**.
</Message>
1. Click **Cockpit** in the Observability section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
2. Click the **Grafana users** tab.
3. Click the <Icon name="more" /> icon next to the relevant Grafana user.
4. Click **Generate password**.
5. Click **Generate new password** to confirm. Your new password displays. Make sure that you copy it before leaving the page.
Loading