Skip to content

Commit 4548e5f

Browse files
authored
Apply suggestions from code review
1 parent 9709f6d commit 4548e5f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pages/generative-apis/troubleshooting/fixing-common-issues.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,18 @@ Below are common issues that you may encounter when using Generative APIs, their
7272
## Tokens consumption is not displayed in Cockpit Metrics
7373

7474
### Causes
75-
- Cockpit are isolated by `project_id` and only display tokens consumption related to one project.
76-
- Cockpit `Tokens Processed` graphs along time can take up to an hour to update (to provide more accurate average consumptions over time). Note that the overall `Tokens Processed` counter is updated in real time.
75+
- Cockpit is isolated by `project_id` and only displays token consumption related to one Project.
76+
- Cockpit `Tokens Processed` graphs along time can take up to an hour to update (to provide more accurate average consumptions over time). The overall `Tokens Processed` counter is updated in real time.
7777

7878
### Solution
79-
- Ensure you are connecting to the right Cockpit for your project. Cockpits are currently isolated by `project_id`, that you can see in their url: `https://{PROJECT_ID}.dashboard.obs.fr-par.scw.cloud/`. This project should correspond to the one used in the URL you used to perform Generative APIs requests, such as `https://api.scaleway.ai/{PROJECT_ID}/v1/chat/completions`. You can list your projects and their ids in your [Organization Dashboard](https://console.scaleway.com/organization/projects).
79+
- Ensure you are connecting to the Cockpit corresponding to your Project. Cockpits are currently isolated by `project_id`, which you can see in their URL: `https://PROJECT_ID.dashboard.obs.fr-par.scw.cloud/`. This Project should correspond to the one used in the URL you used to perform Generative APIs requests, such as `https://api.scaleway.ai/{PROJECT_ID}/v1/chat/completions`. You can list your projects and their IDs in your [Organization dashboard](https://console.scaleway.com/organization/projects).
8080

8181
#### Example error behaviour
82-
- When displaying the wrong Cockpit for the project:
83-
- Counter for Tokens Processed or API Requests should display a value of 0
82+
- When displaying the wrong Cockpit for the Project:
83+
- Counter for **Tokens Processed** or **API Requests** should display a value of 0
8484
- Graph across time should be empty
85-
- When displaying the right Cockpit for the project, but waiting for average tokens consumption to display:
86-
- Counter for Tokens Processed or API Requests should display a correct value (different from 0)
85+
- When displaying the right Cockpit for the Project, but waiting for average token consumption to display:
86+
- Counter for **Tokens Processed** or **API Requests** should display a correct value (different from 0)
8787
- Graph across time should be empty
8888
```
8989

0 commit comments

Comments
 (0)