Skip to content

DGUK-60: Update traffic alert threshold to 25 req/s rightsized capacity#4249

Open
amar-gds-ndl wants to merge 1 commit into
mainfrom
feature/DGUK-60-rightsizing
Open

DGUK-60: Update traffic alert threshold to 25 req/s rightsized capacity#4249
amar-gds-ndl wants to merge 1 commit into
mainfrom
feature/DGUK-60-rightsizing

Conversation

@amar-gds-ndl
Copy link
Copy Markdown
Contributor

@amar-gds-ndl amar-gds-ndl commented Apr 23, 2026

Summary

Updates the DataGovUkHighTrafficRate Prometheus alert to reflect the rightsized capacity target of 25 req/s (down from the previous 55.8 req/s established at 100 VUs).

Paired with alphagov/govuk-dgu-charts#722 which reduces resource allocations and load test VUs on staging.

Changes

Alert rule (rules/datagovuk_traffic.yaml)

  • Threshold: 44.6 -> 20.0 req/s (80% of the rightsized 25 req/s capacity target)
  • Updated description and comments to reference the new capacity and 45 VU load test

Alert unit tests (rules/datagovuk_traffic_tests.yaml)

  • Updated series values and expected annotations to match new threshold
  • Tests pass: promtool test rules datagovuk_traffic_tests.yaml

Threshold calculation

Rightsized capacity target = 25 req/s  (45 VUs)
Alert threshold             = 25 x 0.80 = 20.0 req/s

Lower DataGovUkHighTrafficRate alert threshold from 44.6 to 20.0 req/s to
reflect the rightsized capacity target of 25 req/s.

Previous: 80% of 55.8 req/s (100 VU load test) = 44.6 req/s
Updated:  80% of 25 req/s (rightsized, 45 VU load test)  = 20.0 req/s

Update unit tests to match new threshold and description.
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