diff --git a/observability/cockpit/concepts.mdx b/observability/cockpit/concepts.mdx index 7fc181b830..2ef44bec2d 100644 --- a/observability/cockpit/concepts.mdx +++ b/observability/cockpit/concepts.mdx @@ -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 --- diff --git a/observability/cockpit/how-to/access-grafana-and-managed-dashboards.mdx b/observability/cockpit/how-to/access-grafana-and-managed-dashboards.mdx index d2a6ffc1d7..04e8aa5df6 100644 --- a/observability/cockpit/how-to/access-grafana-and-managed-dashboards.mdx +++ b/observability/cockpit/how-to/access-grafana-and-managed-dashboards.mdx @@ -9,7 +9,7 @@ tags: observability cockpit grafana managed-dashboard categories: - observability dates: - validation: 2024-06-19 + validation: 2024-12-26 posted: 2022-10-31 --- @@ -17,8 +17,6 @@ Scaleway provides you with managed dashboards you can access in Grafana, for [Sc This page shows you how to access [managed dashboards](/observability/cockpit/concepts/#managed-dashboards). - - - A Scaleway account logged into the [console](https://console.scaleway.com) @@ -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. diff --git a/observability/cockpit/how-to/activate-push-traces.mdx b/observability/cockpit/how-to/activate-push-traces.mdx index cc679f3bc1..9b7e519f54 100644 --- a/observability/cockpit/how-to/activate-push-traces.mdx +++ b/observability/cockpit/how-to/activate-push-traces.mdx @@ -8,7 +8,7 @@ content: categories: - observability cockpit traces push dates: - validation: 2024-06-19 + validation: 2024-12-26 posted: 2023-10-31 --- @@ -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 @@ -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 diff --git a/observability/cockpit/how-to/add-contact-points.mdx b/observability/cockpit/how-to/add-contact-points.mdx index 843732fde4..59b715de12 100644 --- a/observability/cockpit/how-to/add-contact-points.mdx +++ b/observability/cockpit/how-to/add-contact-points.mdx @@ -8,7 +8,7 @@ content: categories: - observability dates: - validation: 2024-06-19 + validation: 2024-12-26 posted: 2024-04-05 --- @@ -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. diff --git a/observability/cockpit/how-to/create-token.mdx b/observability/cockpit/how-to/create-token.mdx index 425c83c5b9..27a037a80c 100644 --- a/observability/cockpit/how-to/create-token.mdx +++ b/observability/cockpit/how-to/create-token.mdx @@ -9,7 +9,7 @@ tags: cockpit observability token categories: - observability dates: - validation: 2024-06-19 + validation: 2024-12-26 posted: 2022-10-31 --- @@ -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. 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. diff --git a/observability/cockpit/how-to/retrieve-grafana-credentials.mdx b/observability/cockpit/how-to/retrieve-grafana-credentials.mdx index def0ddbbd9..ff65433ad2 100644 --- a/observability/cockpit/how-to/retrieve-grafana-credentials.mdx +++ b/observability/cockpit/how-to/retrieve-grafana-credentials.mdx @@ -9,7 +9,7 @@ tags: cockpit observability grafana credentials categories: - observability dates: - validation: 2024-06-19 + validation: 2024-12-26 posted: 2022-10-31 --- @@ -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. diff --git a/observability/cockpit/how-to/send-metrics-logs-to-cockpit.mdx b/observability/cockpit/how-to/send-metrics-logs-to-cockpit.mdx index 8b204dd0d0..14d56a8166 100644 --- a/observability/cockpit/how-to/send-metrics-logs-to-cockpit.mdx +++ b/observability/cockpit/how-to/send-metrics-logs-to-cockpit.mdx @@ -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. diff --git a/observability/cockpit/quickstart.mdx b/observability/cockpit/quickstart.mdx index a476b77445..bec2ba252d 100644 --- a/observability/cockpit/quickstart.mdx +++ b/observability/cockpit/quickstart.mdx @@ -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 diff --git a/observability/cockpit/troubleshooting/pusher-does-not-support-custom-http-headers.mdx b/observability/cockpit/troubleshooting/pusher-does-not-support-custom-http-headers.mdx index 10d201aa29..f355e03af3 100644 --- a/observability/cockpit/troubleshooting/pusher-does-not-support-custom-http-headers.mdx +++ b/observability/cockpit/troubleshooting/pusher-does-not-support-custom-http-headers.mdx @@ -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 diff --git a/observability/cockpit/troubleshooting/resetting-grafana-password-via-the-api.mdx b/observability/cockpit/troubleshooting/resetting-grafana-password-via-the-api.mdx index dfd3090edc..7ca3c515b4 100644 --- a/observability/cockpit/troubleshooting/resetting-grafana-password-via-the-api.mdx +++ b/observability/cockpit/troubleshooting/resetting-grafana-password-via-the-api.mdx @@ -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. @@ -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=' \ - --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. - - - 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 next to the relevant Grafana user > Click **Generate password** > **Generate new password**. - \ No newline at end of file +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 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.