Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement an API call request counter module #3

Closed
mfranciszkiewicz opened this issue Jan 10, 2022 · 0 comments · Fixed by #15
Closed

Implement an API call request counter module #3

mfranciszkiewicz opened this issue Jan 10, 2022 · 0 comments · Fixed by #15
Assignees
Projects

Comments

@mfranciszkiewicz
Copy link
Contributor

mfranciszkiewicz commented Jan 10, 2022

What:

  • propose a name for the custom counter (main counter) of total number of requests made by all registered users within the runtime
  • in Runtime::start function, spawn a background task responsible for:
    • periodically fetch per-user and per-endpoint counter values from the proxy server for all registered users
    • publish the per-user counter via Runtime API to ExeUnit Supervisor (see the GAP for examples)
    • publish the last known counter value on shutdown

Why:

  • we need to provide a number of total calls per authenticated user as a custom runtime counter

Follow GAP-8

@mfranciszkiewicz mfranciszkiewicz added this to Inbox in .Core via automation Jan 10, 2022
@nieznanysprawiciel nieznanysprawiciel moved this from Inbox to To do in .Core Jan 11, 2022
@wkargul wkargul self-assigned this Jan 28, 2022
@wkargul wkargul moved this from To do to In progress in .Core Jan 28, 2022
@wkargul wkargul moved this from In progress to Review in progress in .Core Feb 3, 2022
.Core automation moved this from Review in progress to Done Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
.Core
Done
2 participants