prebid-server icon indicating copy to clipboard operation
prebid-server copied to clipboard

Debug Metrics

Open SyntaxNode opened this issue 5 years ago • 3 comments

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.

  1. Add a new counter metric requests_debug which increments whenever a new request with debugging enabled is received. May be compared with the existing requests counter metric to determine percentages.

  2. Add a new account metric account_requests_debug which increments whenever a new request with debugging enabled for a specific account is received. May be compared with the existing account_requests counter metric to determine percentages. Since account cardinality may be very high, this should be controlled with an option.

  3. Add a new metrics.disabled.account_debug config option to control enabling the account metric. Due to potentially very high account cardinality, this option will default to true, matching the default for metrics.disabled.account_adapter_details.

SyntaxNode avatar Sep 03 '20 16:09 SyntaxNode

@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?

bretg avatar Dec 12 '22 20:12 bretg

Yes, this was completed for PBS-Go in https://github.com/prebid/prebid-server/pull/2246.

SyntaxNode avatar Dec 12 '22 20:12 SyntaxNode

Confirmed this is not yet ported to PBS-Java

bretg avatar Sep 08 '23 15:09 bretg