Skip to content

Commit

Permalink
Merge pull request #289 from ably/feature/REA-2258
Browse files Browse the repository at this point in the history
Add new batching and conflation processed stats
  • Loading branch information
JoaoDiasAbly authored Jan 22, 2025
2 parents 338272e + 7b62855 commit dfc989d
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 6 deletions.
28 changes: 25 additions & 3 deletions json-schemas/src/account-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -479,19 +479,16 @@
"inclusiveMinimum": 0,
"description": "Total outbound realtime state message count (sent from the Ably service to clients)."
},

"messages.outbound.realtime.state.billableCount": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total billable outbound realtime state message count (sent from the Ably service to clients)."
},

"messages.outbound.realtime.state.data": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total outbound realtime state message size (sent from the Ably service to clients)."
},

"messages.outbound.realtime.state.uncompressedData": {
"type": "number",
"inclusiveMinimum": 0,
Expand Down Expand Up @@ -1097,6 +1094,31 @@
"inclusiveMinimum": 0,
"description": "Total number of messages on channels where delta generation was attempted but where a delta was not successfully generated, so Ably just broadcasted the original, see https://ably.com/docs/channels/options/deltas."
},
"messages.processed.batching.simple.inboundMessages": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total number of messages aggregated into batches with the 'simple' batching policy."
},
"messages.processed.batching.simple.generatedBatches": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total number of batches generated by the 'simple' batching policy."
},
"messages.processed.batching.conflating.inboundMessages": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total number of messages aggregated into batches with the 'conflating' batching policy."
},
"messages.processed.batching.conflating.generatedBatches": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total number of batches generated by the 'conflating' batching policy."
},
"messages.processed.batching.conflating.discardedMessages": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total number of messages discarded by the 'conflating' batching policy."
},
"connections.all.peak": {
"type": "number",
"inclusiveMinimum": 0,
Expand Down
28 changes: 25 additions & 3 deletions json-schemas/src/app-stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -483,19 +483,16 @@
"inclusiveMinimum": 0,
"description": "Total outbound realtime state message count (sent from the Ably service to clients)."
},

"messages.outbound.realtime.state.billableCount": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total billable outbound realtime state message count (sent from the Ably service to clients)."
},

"messages.outbound.realtime.state.data": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total outbound realtime state message size (sent from the Ably service to clients)."
},

"messages.outbound.realtime.state.uncompressedData": {
"type": "number",
"inclusiveMinimum": 0,
Expand Down Expand Up @@ -1101,6 +1098,31 @@
"inclusiveMinimum": 0,
"description": "Total number of messages on channels where delta generation was attempted but where a delta was not successfully generated, so Ably just broadcasted the original, see https://ably.com/docs/channels/options/deltas."
},
"messages.processed.batching.simple.inboundMessages": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total number of messages aggregated into batches with the 'simple' batching policy."
},
"messages.processed.batching.simple.generatedBatches": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total number of batches generated by the 'simple' batching policy."
},
"messages.processed.batching.conflating.inboundMessages": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total number of messages aggregated into batches with the 'conflating' batching policy."
},
"messages.processed.batching.conflating.generatedBatches": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total number of batches generated by the 'conflating' batching policy."
},
"messages.processed.batching.conflating.discardedMessages": {
"type": "number",
"inclusiveMinimum": 0,
"description": "Total number of messages discarded by the 'conflating' batching policy."
},
"connections.all.peak": {
"type": "number",
"inclusiveMinimum": 0,
Expand Down

0 comments on commit dfc989d

Please sign in to comment.