Developer Platform von Cloudflare
K2 - K2 metrics in the dashboard and GraphQL Analytics API
You can now monitor your K2 streams in the Cloudflare dashboard: how fast records are produced and consumed, how much each stream stores, and how far behind each subscription is.
A K2 stream's Metrics tab, charting bytes produced by input and bytes stored
In the Cloudflare dashboard, go to the K2 Streams page and select a stream.
Metrics appear in three places:
- Overview — Produce and consume rates over the last 5 minutes, stored bytes, and each subscription's records behind, oldest unread record, lag over the last hour, and bytes consumed.
- Metrics — Charts of bytes produced by input, bytes stored, and bytes delivered to each subscription, over a time range you choose.
- Subscription page — Select a subscription to see its records and bytes behind, its oldest unread record, its consume rate, and charts of its lag and throughput.
The same metrics are available in the GraphQL Analytics API, in four beta datasets:
k2ProduceAdaptiveGroups— Bytes produced to a stream, by input (httporbinding).k2ConsumeAdaptiveGroups— Bytes delivered to each subscription. …