Skip to content

Commit 973b837

Browse files
Create and apply cache-reserve-analytics partial
1 parent d8c3b82 commit 973b837

File tree

3 files changed

+38
-10
lines changed

3 files changed

+38
-10
lines changed

src/content/docs/cache/advanced-configuration/cache-reserve.mdx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,13 @@ Cache Reserve should be used with [Tiered Cache](/cache/how-to/tiered-cache/) en
163163

164164
## Cache Reserve Analytics
165165

166-
Cache Reserve Analytics provides insights regarding your Cache Reserve usage. It allows you to check what content is stored in Cache Reserve, how often it is being accessed, how long it has been there and how much egress from your origin it is saving you.
167-
168-
In the **Overview** section, under **Cache Reserve**, you have access to the following metrics:
169-
170-
- **Egress savings (bandwidth)** - is an estimation based on response bytes served from Cache Reserve that did not need to be served from your origin server. These are represented as cache hits.
171-
- **Requests served by Cache Reserve** - is the number of requests served by Cache Reserve (total).
172-
- **Data storage summary** - is based on a representative sample of requests. Refer to [Sampling](/analytics/graphql-api/sampling/) for more details about how Cloudflare samples data.
173-
- **Current data stored** - is the data stored (currently) over time.
174-
- **Aggregate storage usage** - is the total of storage used for the selected timestamp.
175-
- **Operations** - [Class A](/cache/advanced-configuration/cache-reserve/#class-a-operations-writes) (writes) and [Class B](/cache/advanced-configuration/cache-reserve/#class-b-operations-reads) (reads) operations over time.
166+
<Render
167+
file="cache-reserve-analytics"
168+
product="cache"
169+
params={{
170+
conditional: "dedicated-cache-tile"
171+
}}
172+
/>
176173

177174
## Cache Reserve clear button
178175

src/content/docs/smart-shield/configuration/cache-reserve/analytics.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,13 @@ sidebar:
55
order: 3
66
label: Analytics
77
---
8+
9+
import { Render } from "~/components";
10+
11+
<Render
12+
file="cache-reserve-analytics"
13+
product="cache"
14+
params={{
15+
conditional: "smart-shield-tile",
16+
}}
17+
/>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
params:
3+
- conditional?
4+
---
5+
6+
Cache Reserve Analytics provides insights regarding your Cache Reserve usage. It allows you to check what content is stored in Cache Reserve, how often it is being accessed, how long it has been there and how much egress from your origin it is saving you.
7+
8+
{ props.conditional === "smart-shield-tile" && (
9+
<p>You have access to the following metrics:</p>
10+
)}
11+
12+
{ props.conditional === "dedicated-cache-tile" && (
13+
<p>In the <strong>Overview</strong> section, under <strong>Cache Reserve</strong>, you have access to the following metrics:</p>
14+
)}
15+
16+
- **Egress savings (bandwidth)** - is an estimation based on response bytes served from Cache Reserve that did not need to be served from your origin server. These are represented as cache hits.
17+
- **Requests served by Cache Reserve** - is the number of requests served by Cache Reserve (total).
18+
- **Data storage summary** - is based on a representative sample of requests. Refer to [Sampling](/analytics/graphql-api/sampling/) for more details about how Cloudflare samples data.
19+
- **Current data stored** - is the data stored (currently) over time.
20+
- **Aggregate storage usage** - is the total of storage used for the selected timestamp.
21+
- **Operations** - Class A (writes) and Class B (reads) operations over time.

0 commit comments

Comments
 (0)