Skip to content

feat(auth): add statsd to free access script - #20960

Merged
StaberindeZA merged 1 commit into
mainfrom
PAY-3782
Aug 4, 2026
Merged

feat(auth): add statsd to free access script#20960
StaberindeZA merged 1 commit into
mainfrom
PAY-3782

Conversation

@StaberindeZA

Copy link
Copy Markdown
Contributor

Because

  • Need to be able to track free access program reconcilation script start and shutdown.

This pull request

  • Adds statsd increments for start and shutdown of free access reconcile script

Issue that this pull request solves

Closes: (issue number)

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).
  • I have manually reviewed all AI generated code.

How to review (Optional)

  • Key files/areas to focus on:
  • Suggested review order:
  • Risky or complex parts:

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

Copilot AI review requested due to automatic review settings August 3, 2026 19:22
@StaberindeZA
StaberindeZA requested a review from a team as a code owner August 3, 2026 19:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds lifecycle instrumentation to the free-access-program-reconcile maintenance script so its execution can be monitored via StatsD metrics.

Changes:

  • Emit a StatsD counter on script startup.
  • Emit a StatsD counter on script shutdown and attempt to close the StatsD client to flush metrics.

Comment thread packages/fxa-auth-server/scripts/free-access-program-reconcile.ts Outdated
Because:

* Need to be able to track free access program reconcilation script
  start and shutdown.

This commit:

* Adds statsd increments for start and shutdown of free access reconcile
  script

Closes #PAY-3782
@StaberindeZA
StaberindeZA merged commit 36749ad into main Aug 4, 2026
17 of 19 checks passed
@StaberindeZA
StaberindeZA deleted the PAY-3782 branch August 4, 2026 19:43
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.

3 participants