Remove or re-home the orphaned GatewayMetrics.RetryAttempted instrument (no callers after #188) #215

Closed
opened 2026-11-09 12:24:28 -05:00 by dohertj2 · 1 comment
Owner

Follow-up from mxaccessgw#188 (42f69e4f).

That fix removed the inert worker startup-probe retry options and the launcher's Polly pipeline. GatewayMetrics.RetryAttempted was recorded only by that pipeline and now has no callers. It was left in place on purpose so the metric surface didn't change in the same commit.

Do: either delete the instrument and its Metrics.md row, or give it a real caller. Check dashboards and alert rules for references before deleting it.

Follow-up from mxaccessgw#188 (42f69e4f). That fix removed the inert worker startup-probe retry options and the launcher's Polly pipeline. `GatewayMetrics.RetryAttempted` was recorded only by that pipeline and now has no callers. It was left in place on purpose so the metric surface didn't change in the same commit. **Do:** either delete the instrument and its `Metrics.md` row, or give it a real caller. Check dashboards and alert rules for references before deleting it.
dohertj2 added the area:gatewaytype:debtpriority:p3 labels 2026-11-09 12:24:28 -05:00
Author
Owner

Fixed on main d56353bf: removed mxgateway.retries.attempted, GatewayMetrics.RetryAttempted and the RetryAttempts/RetryAttemptsByArea snapshot fields (no in-repo dashboard/alert referenced them — external Grafana/alert rules not checkable from here). docs/Metrics.md updated (also added the missing AlarmProviderSwitchCount). Evidence (after rebase onto main incl. the dashboard/docs wave): NonWindows.slnx builds 0 warnings / 0 errors; MxGateway.Tests 1378 passed / 2 skipped / 0 failed.

Fixed on main d56353bf: removed `mxgateway.retries.attempted`, `GatewayMetrics.RetryAttempted` and the RetryAttempts/RetryAttemptsByArea snapshot fields (no in-repo dashboard/alert referenced them — external Grafana/alert rules not checkable from here). docs/Metrics.md updated (also added the missing AlarmProviderSwitchCount). Evidence (after rebase onto main incl. the dashboard/docs wave): NonWindows.slnx builds 0 warnings / 0 errors; MxGateway.Tests 1378 passed / 2 skipped / 0 failed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/mxaccessgw#215