Skip to content

Commit

Permalink
Merge pull request #273 from ably/server-side-batching-update-stats-s…
Browse files Browse the repository at this point in the history
…chemas

Update account-stats and app-stats schemas for High Throughput Pricing
  • Loading branch information
JoaoDiasAbly authored Nov 9, 2024
2 parents 5c06dfb + b723b5e commit 09000d9
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 0 deletions.
45 changes: 45 additions & 0 deletions json-schemas/src/account-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down
45 changes: 45 additions & 0 deletions json-schemas/src/app-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 09000d9

Please sign in to comment.