Debug Metrics
Motivation
This proposal addresses a discussion in https://github.com/prebid/prebid-server/issues/745 to provide hosts with visibility in how many auctions are running with debugging enabled.
Feature Request
Add new general metrics and new account metrics to track the number of requests received with debugging enabled through either the test or debug flag.
-
Add a new counter metric
requests_debugwhich increments whenever a new request with debugging enabled is received. May be compared with the existingrequestscounter metric to determine percentages. -
Add a new account metric
account_requests_debugwhich increments whenever a new request with debugging enabled for a specific account is received. May be compared with the existingaccount_requestscounter metric to determine percentages. Since account cardinality may be very high, this should be controlled with an option. -
Add a new
metrics.disabled.account_debugconfig option to control enabling the account metric. Due to potentially very high account cardinality, this option will default totrue, matching the default formetrics.disabled.account_adapter_details.
@SyntaxNode - this is flagged with the PBS-Java label, but there's no Go PR linked and I don't see these strings in the Go codebase. Is this done in the Go implementation?
Yes, this was completed for PBS-Go in https://github.com/prebid/prebid-server/pull/2246.
Confirmed this is not yet ported to PBS-Java