Skip to content

add get_banded_slow_text_message_delivery_reports_by_provider, record result in generate_sms_delivery_stats - #4952

Open
risicle wants to merge 1 commit into
mainfrom
ris-new-slow-sms-delivery-metric
Open

add get_banded_slow_text_message_delivery_reports_by_provider, record result in generate_sms_delivery_stats#4952
risicle wants to merge 1 commit into
mainfrom
ris-new-slow-sms-delivery-metric

Conversation

@risicle

@risicle risicle commented Sep 1, 2026

Copy link
Copy Markdown
Member

https://trello.com/c/1Q7z3GH3/1568-investigate-and-decide-what-to-do-next-re-balancer-behaviour-during-vodafone-network-outage

This is a candidate building block for a new sms balancer slow delivery metric that is capable of measuring delivery delay in a series of "bands" that each trade off severity of delay measured with fast responses to interruption.

It also notably uses sent_at rather than created_at to calculate delivery delay, preventing it from being sensitive to delivery delays at our end.

Here we simply expose the separate components of this measure as an otel metric, allowing us to experiment with real data for determining e.g. methods off combining the bands into a single representative figure which we might later be able to make balancing decisions based on.

Sending these queries to the replica to avoid any possibility these could seriously affect the primary database.

@risicle
risicle force-pushed the ris-new-slow-sms-delivery-metric branch from 77c8c60 to a2df8c6 Compare September 1, 2026 14:36
… result in generate_sms_delivery_stats

this is a candidate building block for a new sms balancer slow
delivery metric that is capable of measuring delivery delay
in a series of "bands" that each trade off severity of delay
measured with fast responses to interruption.

it also notably uses sent_at rather than created_at to calculate
delivery delay, preventing it from being sensitive to delivery
delays at our end.

here we simply expose the separate components of this measure
as an otel metric, allowing us to experiment with real data
for determining e.g. methods off combining the bands into a
single representative figure
@risicle
risicle force-pushed the ris-new-slow-sms-delivery-metric branch from a2df8c6 to 8a10fb2 Compare September 1, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant