Skip to content

Commit adb7faa

Browse files
pedrosousanevikashah
authored andcommitted
[Queues] Use DashButton component (#24935)
1 parent 2cf7bb6 commit adb7faa

File tree

6 files changed

+41
-26
lines changed

6 files changed

+41
-26
lines changed

src/content/docs/pipelines/build-with-pipelines/sources/http.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,10 @@ Once authentication is turned on, you will need to include a Cloudflare API toke
5555
5656
### Get API token
5757
58-
1. In the Cloudflare dashboard, go to the **Account API tokens** page.
59-
60-
<DashButton url="/?to=/:account/api-tokens" />
61-
62-
2. Select **Create Token**.
63-
3. Choose the template for Workers Pipelines. Select **Continue to summary** > **Create token**. Make sure to copy the API token and save it securely.
58+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com).
59+
2. Go to **My Profile** > [API Tokens](https://dash.cloudflare.com/profile/api-tokens).
60+
3. Select **Create Token**.
61+
4. Choose the template for Workers Pipelines. Select **Continue to summary** > **Create token**. Make sure to copy the API token and save it securely.
6462
6563
### Making authenticated requests
6664

src/content/docs/queues/configuration/pull-consumers.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ head:
88
content: Cloudflare Queues - Pull consumers
99
---
1010

11-
import { WranglerConfig } from "~/components";
11+
import { WranglerConfig, DashButton } from "~/components";
1212

1313
A pull-based consumer allows you to pull from a queue over HTTP from any environment and/or programming language outside of Cloudflare Workers. A pull-based consumer can be useful when your message consumption rate is limited by upstream infrastructure or long-running tasks.
1414

@@ -102,7 +102,8 @@ You may authenticate and run multiple concurrent pull-based consumers against a
102102

103103
To create an API token:
104104

105-
1. Go to the API tokens page of the [Cloudflare dashboard](https://dash.cloudflare.com/profile/api-tokens/).
105+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com).
106+
2. Go to **My Profile** > [API Tokens](https://dash.cloudflare.com/profile/api-tokens).
106107
2. Select **Create Token**.
107108
3. Scroll to the bottom of the page and select **Create Custom Token**.
108109
4. Give the token a name. For example, `queue-pull-token`.

src/content/docs/queues/event-subscriptions/manage-event-subscriptions.mdx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ sidebar:
99
import {
1010
Steps,
1111
LinkCard,
12+
DashButton,
1213
} from "~/components";
1314

1415
Learn how to:
@@ -24,7 +25,10 @@ Creating a subscription allows your queue to receive messages when events occur
2425
### Dashboard
2526

2627
<Steps>
27-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and go to **Compute & AI** > **Queues**.
28+
1. In the Cloudflare dashboard, go to the **Queues** page.
29+
30+
<DashButton url="/?to=/:account/workers/queues" />
31+
2832
2. Select the queue you want to add a subscription to.
2933
3. Switch to the **Subscriptions** tab.
3034
4. Select **Subscribe to events**.
@@ -49,7 +53,10 @@ You can view all subscriptions configured for a queue to see what events it is c
4953
### Dashboard
5054

5155
<Steps>
52-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and go to **Compute & AI** > **Queues**.
56+
1. In the Cloudflare dashboard, go to the **Queues** page.
57+
58+
<DashButton url="/?to=/:account/workers/queues" />
59+
5360
2. Select the queue you want to view subscriptions for.
5461
3. Switch to the **Subscriptions** tab.
5562
</Steps>
@@ -69,7 +76,10 @@ When you delete a subscription, your queue will stop receiving messages for thos
6976
### Dashboard
7077

7178
<Steps>
72-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and go to **Compute & AI** > **Queues**.
79+
1. In the Cloudflare dashboard, go to the **Queues** page.
80+
81+
<DashButton url="/?to=/:account/workers/queues" />
82+
7383
2. Select the queue containing the subscription you want to delete.
7484
3. Switch to the **Subscriptions** tab.
7585
4. Select **...** for the subscription you want to delete.

src/content/docs/queues/examples/list-messages-from-dash.mdx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ head:
88
- tag: title
99
content: Cloudflare Queues - Listing and acknowledging messages from the dashboard
1010
description: Use the dashboard to fetch and acknowledge the messages currently in a queue.
11-
1211
---
13-
import {Steps} from "~/components";
12+
13+
import { Steps, DashButton } from "~/components";
1414

1515
## List messages from the dashboard
1616

@@ -19,12 +19,14 @@ Listing messages from the dashboard allows you to debug Queues or queue producer
1919
To list messages in the dashboard:
2020

2121
<Steps>
22-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
23-
2. Select **Storage & Databases** > **Queues**.
24-
3. Select the queue to preview messages from.
25-
4. Select the **Messages** tab.
26-
5. Select **List**.
27-
6. When the list of messages loads, select the blue arrow to the right of each row to expand the message preview.
22+
1. In the Cloudflare dashboard, go to the **Queues** page.
23+
24+
<DashButton url="/?to=/:account/workers/queues" />
25+
26+
2. Select the queue to preview messages from.
27+
3. Select the **Messages** tab.
28+
4. Select **List**.
29+
5. When the list of messages loads, select the blue arrow to the right of each row to expand the message preview.
2830
</Steps>
2931

3032
This will preview a batch of messages currently in the Queue.

src/content/docs/queues/platform/audit-logs.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ sidebar:
55
order: 10
66
---
77

8+
import { DashButton } from "~/components";
9+
810
[Audit logs](/fundamentals/account/account-security/review-audit-logs/) provide a comprehensive summary of changes made within your Cloudflare account, including those made to Queues. This functionality is always enabled.
911

1012
## Viewing audit logs
1113

12-
To view audit logs for your Queue:
14+
To view audit logs for your Queue in the Cloudflare dashboard, go to the **Audit logs** page.
1315

14-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/?account=audit-log) and select your account.
15-
2. Go to **Manage Account** > **Audit Log**.
16+
<DashButton url="/?to=/:account/audit-log" />
1617

1718
For more information on how to access and use audit logs, refer to [Review audit logs](/fundamentals/account/account-security/review-audit-logs/).
1819

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
---
22
{}
3-
43
---
54

5+
import { DashButton } from "~/components";
6+
67
Queues are included in the monthly subscription cost of your Workers Paid plan, and charges based on operations against your queues. Refer to [Pricing](/queues/platform/pricing/) for more details.
78

89
Before you can use Queues, you must enable it via [the Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/workers/queues). You need a Workers Paid plan to enable Queues.
910

1011
To enable Queues:
1112

12-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com).
13-
2. Go to **Workers & Pages** > **Queues**.
14-
3. Select **Enable Queues**.
13+
1. In the Cloudflare dashboard, go to the **Queues** page.
14+
15+
<DashButton url="/?to=/:account/workers/queues" />
16+
17+
2. Select **Enable Queues**.

0 commit comments

Comments
 (0)