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

Account-level metric config #1678

Closed
bretg opened this issue Jan 22, 2021 · 1 comment
Closed

Account-level metric config #1678

bretg opened this issue Jan 22, 2021 · 1 comment
Labels

Comments

@bretg
Copy link
Contributor

bretg commented Jan 22, 2021

One of the most expensive parts of hosting metrics is the account-level metrics.

It's possible to completely turn off all metrics for all accounts, but sometimes we want to monitor certain accounts for specific changes, or consistently monitor a few bellweather accounts for general health.

Currently the config allows global control with these server options:

  • metrics.accounts.default-verbosity
  • metrics.accounts.basic-verbosity: a list of accounts for which only basic metrics will be submitted
  • metrics.accounts.detailed-verbosity: a list of accounts for which verbose metrics will be submitted

However, updating these values requires a deploy. We'd prefer to be able to build a user interface to set the metrics level for each account to be able to change them through the database.

So we propose adding a flag that would set the "account.ACCOUNTID" metrics.

account properties config (from the file)

metric-level: "none", "basic", "verbose"

account config (from DB query)

metric-level: "none", "basic", "verbose"

Note that this is another example of the increasing number of configurations in the Accounts table as discussed in #1672

@bretg
Copy link
Contributor Author

bretg commented Sep 8, 2023

this was complete some time ago

@bretg bretg closed this as completed Sep 8, 2023
@github-project-automation github-project-automation bot moved this from Ready for Dev to Done in Prebid Server Prioritization Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants