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
4 changes: 0 additions & 4 deletions menu/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3772,10 +3772,6 @@
"label": "Cockpit API Reference",
"slug": "https://www.scaleway.com/en/developers/api/cockpit/regional-api/"
},
{
"label": "Configuring the Grafana agent",
"slug": "configuring-grafana-agent"
},
{
"label": "Retrieving logs programmatically using LogCLI",
"slug": "querying-logs-with-logcli"
Expand Down
268 changes: 0 additions & 268 deletions pages/cockpit/api-cli/configuring-grafana-agent.mdx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Cockpit provides a user-friendly interface for real-time monitoring of CPU, memo
## Accessing Cockpit

1. Create a token with the `push` permission for metrics/logs to Cockpit by following the instructions provided [in the dedicated documentation](/cockpit/how-to/create-token/).
2. Configure the Grafana Agent to push metrics/logs to Cockpit. Refer to the [official documentation](/cockpit/api-cli/configuring-grafana-agent/) for detailed instructions.
2. Configure Grafana Alloy to push metrics/logs to Cockpit. Refer to the [official documentation](/cockpit/how-to/send-metrics-with-grafana-alloy/) for detailed instructions.
<Message type="tip">
For efficient cost management and near real-time resource monitoring, it is recommended to set the interval to 1 minute.
</Message>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,10 @@ Your logs are accessible via the Scaleway Observability dashboard, [Cockpit](htt
</Message>

1. [Follow the Cockpit Quickstart](/cockpit/quickstart/) to activate the feature and retrieve your Grafana credentials.
2. [Configure the Grafana agent](/cockpit/api-cli/configuring-grafana-agent/).
2. [Configure Grafana Alloy](/cockpit/how-to/send-metrics-with-grafana-alloy/).
3. Connect to Grafana with the credentials you created.
4. Click **RDB PostgreSQL Overview** on the left-side menu.
5. Scroll to the **Logs** section and click to expand.
6. [View the logs](/cockpit/api-cli/configuring-grafana-agent/#visualizing-logs-in-grafana).

### Technical Information
- All management actions performed via API or the console, such as database creations and deletions, are logged, no matter the configuration. However, the associated read statements are not logged. For example, select statements used to check that actions have been correctly executed are not logged.
Expand Down
33 changes: 17 additions & 16 deletions pages/webhosting/how-to/manage-databases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ content:
paragraph: Discover how to manage databases for Scaleway Web Hosting plans from the console.
tags: webhosting
dates:
validation: 2024-10-24
validation: 2025-05-02
posted: 2024-10-24
categories:
- managed-services
Expand All @@ -30,41 +30,42 @@ You can create and manage databases for your website and applications, including
## How to create a database

1. Click **Web Hosting** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Web Hosting** overview page displays.
2. Click <Icon name="seeMore" /> or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays.
2. Click <Icon name="more" /> and **More info**, or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays.
3. Click the **Databases** tab to display information related to your databases.
4. Click **Create database** in the **Database** section of the page. A pop-up displays.
5. Enter a name for the database, select an existing database user from the drop-down list or create a new one by entering a username and password. Click **Create database** to create the database.
6. Enter the username and password for your FTP account. Then click **Create FTP account** to submit the form and create the account.
4. Click **+ Create database** in the **Databases** section of the page. A pop-up displays.
5. Enter a name for the database, select an existing database user from the drop-down list or create a new one by entering a username and password.
6. Click **Create database** to confirm.

## How to delete a database

1. Click **Web Hosting** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Web Hosting** overview page displays.
2. Click <Icon name="seeMore" /> or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays.
2. Click <Icon name="more" /> and **More info**, or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays.
3. Click the **Databases** tab to display information related to your databases.
4. Click <Icon name="delete" /> next to the database you want to delete. A pop-up displays.
5. Click **Delete database** to confirm the action and delete the database.
5. Click **Delete database** to delete the database.

## How to create a database user

1. Click **Web Hosting** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Web Hosting** overview page displays.
2. Click <Icon name="seeMore" /> or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays.
2. Click <Icon name="more" /> and **More info**, or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays.
3. Click the **Databases** tab to display information related to your databases.
4. Click **Create database user** in the **Database users** section of the page to create a new one. A pop-up displays.
5. Enter a username and password. Then click **Create database user** to create the user.
4. Click **+ Create database user** in the **Databases users** section. A pop-up displays.
5. Enter a username and password.
6. Select an existing database from the drop-down list, then click **Create database user**.

## How to update the password of a database user

1. Click **Web Hosting** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Web Hosting** overview page displays.
2. Click <Icon name="seeMore" /> or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays.
2. Click <Icon name="more" /> and **More info**, or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays.
3. Click the **Databases** tab to display information related to your databases.
4. Click <Icon name="more" /> > **Change password** next to the database user whose password you want to change. A pop-up displays.
5. Enter the new password and click **Update database user** to submit the form and update the password.
4. Click <Icon name="more" />, then **Change password** next to the database user. A pop-up displays.
5. Enter your new password and click **Update database user** to update the password.


## How to delete a database user

1. Click **Web Hosting** in the **Managed Services** section of the [console](https://console.scaleway.com/) side menu. The **Web Hosting** overview page displays.
2. Click <Icon name="seeMore" /> or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays.
2. Click <Icon name="more" /> and **More info**, or the domain name of the Web Hosting service you want to configure. The **Hosting information** page displays.
3. Click the **Databases** tab to display information related to your databases.
4. Click <Icon name="more" /> > **Delete** next to the database user you want to delete. A pop-up displays.
5. Click **Delete database user** to confirm the action and delete the user.
4. Click <Icon name="more" />, then **Delete** next to the database user you want to delete. A pop-up displays.
5. Click **Delete database user** to delete the user.
Loading