Skip to content

generate_sms_delivery_stats: record results in new otel metric #4911

Open
risicle wants to merge 2 commits into
mainfrom
ris-sms-delivery-stats-restore-metric
Open

generate_sms_delivery_stats: record results in new otel metric #4911
risicle wants to merge 2 commits into
mainfrom
ris-sms-delivery-stats-restore-metric

Conversation

@risicle

@risicle risicle commented Jul 7, 2026

Copy link
Copy Markdown
Member

As reflected in the metric's description, this is an imperfect measure but it most closely reflects the current sms balancer algorithm's view of the world.

This replaces a similar metric that was recorded here but got removed with all rest of the statsd stuff.

Because we don't know which instance this celery job is going to run on, this metric will need some promql magic to make it appear as a single continuous metric.

Depends on https://github.com/alphagov/notifications-aws/pull/3042 to work properly.

@risicle risicle marked this pull request as ready for review July 7, 2026 14:46
@risicle risicle changed the title generate_sms_delivery_stats: record results in new otel metric generate_sms_delivery_stats: record results in new otel metric Jul 7, 2026
as reflected in the description, this is an imperfect measure
but it most closely reflects the current sms balancer
algorithm's view of the world.

this replaces a similar metric that was recorded here but got
removed with all rest of the statsd stuff
@risicle risicle force-pushed the ris-sms-delivery-stats-restore-metric branch from e5f900d to 0cf69f5 Compare July 7, 2026 15:26
@risicle risicle requested a review from robinjam July 7, 2026 15:57
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.

2 participants