From b723b5e7b701b035d93f1fb634d83ef1ac081206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Monteiro=20Morgado=20Dias?= Date: Thu, 31 Oct 2024 13:59:51 +0000 Subject: [PATCH] Update account-stats and app-stats schemas for High Throughput Pricing --- json-schemas/src/account-stats.json | 45 +++++++++++++++++++++++++++++ json-schemas/src/app-stats.json | 45 +++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/json-schemas/src/account-stats.json b/json-schemas/src/account-stats.json index 74dfa54..d9c7164 100644 --- a/json-schemas/src/account-stats.json +++ b/json-schemas/src/account-stats.json @@ -29,6 +29,11 @@ "inclusiveMinimum": 0, "description": "Total number of successfully-sent messages, summed over all message types and transports." }, + "messages.all.all.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total number of successfully-sent messages that are billable, summed over all message types and transports." + }, "messages.all.all.data": { "type": "number", "inclusiveMinimum": 0, @@ -54,6 +59,11 @@ "inclusiveMinimum": 0, "description": "Total message count, excluding presence messages." }, + "messages.all.messages.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total number of messages that are billable, excluding presence messages." + }, "messages.all.messages.data": { "type": "number", "inclusiveMinimum": 0, @@ -79,6 +89,11 @@ "inclusiveMinimum": 0, "description": "Total presence message count." }, + "messages.all.presence.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total number of presence messages that are billable." + }, "messages.all.presence.data": { "type": "number", "inclusiveMinimum": 0, @@ -314,6 +329,11 @@ "inclusiveMinimum": 0, "description": "Total outbound realtime message count (sent from the Ably service to clients)." }, + "messages.outbound.realtime.all.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total number of outbound realtime messages that are billable (sent from the Ably service to clients)." + }, "messages.outbound.realtime.all.data": { "type": "number", "inclusiveMinimum": 0, @@ -339,6 +359,11 @@ "inclusiveMinimum": 0, "description": "Total outbound realtime message count (sent from the Ably service to clients), excluding presence messages." }, + "messages.outbound.realtime.messages.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total number of outbound realtime messages that are billable (sent from the Ably service to clients), excluding presence messages." + }, "messages.outbound.realtime.messages.data": { "type": "number", "inclusiveMinimum": 0, @@ -364,6 +389,11 @@ "inclusiveMinimum": 0, "description": "Total outbound realtime presence message count (sent from the Ably service to clients)." }, + "messages.outbound.realtime.presence.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total number of outbound realtime presence messages that are billable (sent from the Ably service to clients)." + }, "messages.outbound.realtime.presence.data": { "type": "number", "inclusiveMinimum": 0, @@ -809,6 +839,11 @@ "inclusiveMinimum": 0, "description": "Total outbound message count (sent from the Ably service to clients)." }, + "messages.outbound.all.all.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total number of outbound messages that are billable (sent from the Ably service to clients)." + }, "messages.outbound.all.all.data": { "type": "number", "inclusiveMinimum": 0, @@ -834,6 +869,11 @@ "inclusiveMinimum": 0, "description": "Total outbound message count (sent from the Ably service to clients), excluding presence messages." }, + "messages.outbound.all.messages.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total number of outbound messages that are billable (sent from the Ably service to clients), excluding presence messages." + }, "messages.outbound.all.messages.data": { "type": "number", "inclusiveMinimum": 0, @@ -859,6 +899,11 @@ "inclusiveMinimum": 0, "description": "Total outbound presence message count (sent from the Ably service to clients)." }, + "messages.outbound.all.presence.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total number of outbound presence messages that are billable (sent from the Ably service to clients)." + }, "messages.outbound.all.presence.data": { "type": "number", "inclusiveMinimum": 0, diff --git a/json-schemas/src/app-stats.json b/json-schemas/src/app-stats.json index 85f0ae2..b279e4c 100644 --- a/json-schemas/src/app-stats.json +++ b/json-schemas/src/app-stats.json @@ -33,6 +33,11 @@ "inclusiveMinimum": 0, "description": "Total number of successfully-sent messages, summed over all message types and transports." }, + "messages.all.all.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total number of billable successfully-sent messages, summed over all message types and transports." + }, "messages.all.all.data": { "type": "number", "inclusiveMinimum": 0, @@ -58,6 +63,11 @@ "inclusiveMinimum": 0, "description": "Total message count, excluding presence messages." }, + "messages.all.messages.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total billable message count, excluding presence messages." + }, "messages.all.messages.data": { "type": "number", "inclusiveMinimum": 0, @@ -83,6 +93,11 @@ "inclusiveMinimum": 0, "description": "Total presence message count." }, + "messages.all.presence.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total billable presence message count." + }, "messages.all.presence.data": { "type": "number", "inclusiveMinimum": 0, @@ -318,6 +333,11 @@ "inclusiveMinimum": 0, "description": "Total outbound realtime message count (sent from the Ably service to clients)." }, + "messages.outbound.realtime.all.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total billable outbound realtime message count (sent from the Ably service to clients)." + }, "messages.outbound.realtime.all.data": { "type": "number", "inclusiveMinimum": 0, @@ -343,6 +363,11 @@ "inclusiveMinimum": 0, "description": "Total outbound realtime message count (sent from the Ably service to clients), excluding presence messages." }, + "messages.outbound.realtime.messages.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total billable outbound realtime message count (sent from the Ably service to clients), excluding presence messages." + }, "messages.outbound.realtime.messages.data": { "type": "number", "inclusiveMinimum": 0, @@ -368,6 +393,11 @@ "inclusiveMinimum": 0, "description": "Total outbound realtime presence message count (sent from the Ably service to clients)." }, + "messages.outbound.realtime.presence.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total billable outbound realtime presence message count (sent from the Ably service to clients)." + }, "messages.outbound.realtime.presence.data": { "type": "number", "inclusiveMinimum": 0, @@ -813,6 +843,11 @@ "inclusiveMinimum": 0, "description": "Total outbound message count (sent from the Ably service to clients)." }, + "messages.outbound.all.all.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total billable outbound message count (sent from the Ably service to clients)." + }, "messages.outbound.all.all.data": { "type": "number", "inclusiveMinimum": 0, @@ -838,6 +873,11 @@ "inclusiveMinimum": 0, "description": "Total outbound message count (sent from the Ably service to clients), excluding presence messages." }, + "messages.outbound.all.messages.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total billable outbound message count (sent from the Ably service to clients), excluding presence messages." + }, "messages.outbound.all.messages.data": { "type": "number", "inclusiveMinimum": 0, @@ -863,6 +903,11 @@ "inclusiveMinimum": 0, "description": "Total outbound presence message count (sent from the Ably service to clients)." }, + "messages.outbound.all.presence.billableCount": { + "type": "number", + "inclusiveMinimum": 0, + "description": "Total billable outbound presence message count (sent from the Ably service to clients)." + }, "messages.outbound.all.presence.data": { "type": "number", "inclusiveMinimum": 0,