Skip to content

Commit aed407f

Browse files
committed
Updating Hyperdrive chapters with DashButton
1 parent a800348 commit aed407f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/content/docs/hyperdrive/observability/metrics.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ sidebar:
55
order: 20
66
---
77

8+
import { DashButton } from "~/components";
9+
810
Hyperdrive exposes analytics that allow you to inspect query volume, query latency and cache ratios size across all and/or each Hyperdrive configuration in your account.
911

1012
## Metrics
@@ -27,10 +29,9 @@ Metrics can be queried (and are retained) for the past 31 days.
2729

2830
Per-database analytics for Hyperdrive are available in the Cloudflare dashboard. To view current and historical metrics for a Hyperdrive configuration:
2931

30-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
31-
2. Go to [**Workers & Pages** > **Hyperdrive**](https://dash.cloudflare.com/?to=/:account/workers/hyperdrive).
32-
3. Select an existing Hyperdrive configuration.
33-
4. Select the **Metrics** tab.
32+
1. <DashButton url="/?to=/:account/workers/hyperdrive" />
33+
2. Select an existing Hyperdrive configuration.
34+
3. Select the **Metrics** tab.
3435

3536
You can optionally select a time window to query. This defaults to the last 24 hours.
3637

src/content/partials/hyperdrive/create-hyperdrive-config.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{}
33
---
44

5-
import { WranglerConfig, Render, Tabs, TabItem, Steps } from "~/components";
5+
import { DashButton, WranglerConfig, Render, Tabs, TabItem, Steps } from "~/components";
66

77
To configure Hyperdrive, you will need:
88

@@ -26,11 +26,10 @@ Most database providers will provide a connection string you can directly copy-a
2626
To create a Hyperdrive configuration with the Cloudflare dashboard:
2727

2828
<Steps>
29-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login).
30-
2. Go to **Storage & Databases** > **Hyperdrive**.
31-
3. Select **Create Configuration**.
32-
4. Fill out the form, including the connection string.
33-
5. Select **Create**.
29+
1. <DashButton url="/?to=/:account/workers/hyperdrive" />
30+
2. Select **Create Configuration**.
31+
3. Fill out the form, including the connection string.
32+
4. Select **Create**.
3433
</Steps>
3534

3635
</TabItem>

0 commit comments

Comments
 (0)