K2のメトリクスをダッシュボードとGraphQL Analytics APIで確認可能に
原題: K2 metrics in the dashboard and GraphQL Analytics API
changelog / DevTool / K2 / 2026/11/23 09:00 JST
Cloudflareのストリーミングデータ基盤K2のメトリクスが、ダッシュボードとGraphQL Analytics APIで確認できるようになった。ダッシュボードではK2 Streamsページから、レコードの生成・消費速度、保存量、各サブスクリプションの遅延(未読レコード数や最古の未読レコード、直近1時間の遅延、消費バイト数)を確認できる。概要・メトリクス・サブスクリプション別の3か所で、期間を指定したチャートも見られる。GraphQL Analytics APIでは、生成量・配信量・保存量・サブスクリプション遅延の4つのベータデータセットで同じ指標を取得できる。K2を運用する開発者は、処理の詰まりや遅延を早期に把握しやすくなった。
出典サイトで原文を開く → 出典サイトの説明: Monitor throughput, storage, and subscription lag for your K2 streams in the Cloudflare dashboard, or query the same metrics with the 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. In the Cloudflare dashboard, go to the K2 Streams page and select a stream. Go to K2 Streams ↗ 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 ( http or binding ). k2ConsumeAdaptiveGroups — Bytes delivered to each subscription. k2StorageAdaptiveGroups — Bytes a stream stores, measured about every ten minutes. k2SubscriptionLagAdaptiveGroups — Records a subscription has not committed, and the age of the oldest on
出典: 公式ページ