You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Point graphql-api/sampling to introspection (cloudflare#6753)
This commit removes the list of nodes, that backed by adaptively
sampled data. Instead, we should rely on discovery, like
introspection.
**Network Analytics v2** nodes are not with "fixed" sampling and
share the same adaptive logic, so I think it's better to remove
them from the Fixed sampling table to reduce confusion.
Users should solely rely on Node's description while they introspect
the schema.
\* These nodes are deprecated. Refer to [Deprecated data nodes](/analytics/graphql-api/features/data-sets/#deprecated-data-nodes) for more information.
34
-
35
-
The presence of sampled data is called out in the Cloudflare dashboard and in the description of the dataset in the API.
20
+
The presence of sampled data is also called out in the Cloudflare dashboard and
21
+
in the description of the dataset in the API.
36
22
37
23
## Why sampling is applied
38
24
@@ -54,10 +40,11 @@ The following data nodes are based on fixed sampling, where the sample rate does
| Firewall Rules Preview<br /><p><b>Nodes:</b><br />`firewallRulePreviewGroups`</p> | 1% | Use with caution. A 1% sample rate does not provide accurate estimates for datasets smaller than a certain threshold, a scenario the Cloudflare dashboard calls out explicitly but the API does not. |
56
42
| Network Analytics<br /><p><b>Nodes:</b><br />`ipFlows1mGroups`<br />`ipFlows1hGroups`<br />`ipFlows1dGroups`<br />`ipFlows1mAttacksGroups`</p> | 0.012% | Sampling rate is in terms of packet count (1 of every 8,192 packets). |
57
-
| Network Analytics v2<br /><p><b>Nodes:</b><br />`dosdNetworkAnalyticsAdaptiveGroups`<br />`dosdAttackAnalyticsGroups`<br />`flowtrackdNetworkAnalyticsAdaptiveGroups`<br />`magicFirewallNetworkAnalyticsAdaptiveGroups`<br />`magicTransitNetworkAnalyticsAdaptiveGroups`<br />`spectrumNetworkAnalyticsAdaptiveGroups`</p> | Depends on the node. | Sample rate is 1/100 for Magic Firewall, 1/10,000 for `dosd`, and dynamic for `flowtrackd`. Refer to the [NAv2 migration guide](/analytics/graphql-api/migration-guides/network-analytics-v2/#node-comparison) for details. |
58
43
59
44
{{</table-wrap>}}
60
45
61
46
## Access to raw data
62
47
63
48
Because sampling is primarily adaptive and automatically adjusts to provide an accurate estimate, the sampling rate cannot be directly controlled. Enterprise customers have access to raw data via Cloudflare Logs.
0 commit comments