# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
CacheResults returns possible cache results i.e.
CookieSyncStatuses returns possible cookie sync statuses.
No description provided by the author
No description provided by the author
No description provided by the author
NewBlankMetrics creates a new Metrics object with all blank metrics object.
NewMetrics creates a new Metrics object with needed metrics defined.
No description provided by the author
No description provided by the author
SetUidStatuses returns possible setuid statuses.
No description provided by the author
No description provided by the author
No description provided by the author
SyncerRequestStatuses returns possible syncer statuses.
SyncerSetUidStatuses returns possible syncer set statuses.
TCFVersions returns the possible values for the TCF version.
TCFVersionToValue takes an integer TCF version and returns the corresponding TCFVersionValue.

# Constants

No description provided by the author
Adapter bid response status.
Adapter bid response status.
Adapter execution status.
Adapter execution status.
Adapter execution status.
Adapter execution status.
Adapter execution status.
Adapter execution status.
No description provided by the author
CacheHit represents a cache hit i.e the key was found in cache.
CacheMiss represents a cache miss i.e that key wasn't found in cache and had to be fetched from the backend.
No description provided by the author
Cookie flag.
Cookie flag.
Cookie flag.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The demand sources.
The demand sources.
The demand sources.
No description provided by the author
No description provided by the author
The media types described in the "imp" json objects.
The media types described in the "imp" json objects.
The media types described in the "imp" json objects.
The media types described in the "imp" json objects.
PublisherUnknown : Default value for Labels.PubID.
The request types (endpoints).
The request types (endpoints).
The request types (endpoints).
The request types (endpoints).
The request types (endpoints).
No description provided by the author
Request/return status.
Request/return status.
Request/return status.
Request/return status.
Request/return status.
Request/return status.
No description provided by the author
/setuid action labels.
/setuid action labels.
/setuid action labels.
/setuid action labels.
/setuid action labels.
/setuid action labels.
/setuid action labels.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AdapterLabels defines the labels that can be attached to the adapter metrics.
AdapterMetrics houses the metrics for a particular adapter.
ImpLabels defines metric labels describing the impression type.
Labels defines the labels that can be attached to the metrics.
No description provided by the author
Metrics is the legacy Metrics object (go-metrics) expanded to also satisfy the MetricsEngine interface.
MetricsEngineMock is mock for the MetricsEngine interface.
PodLabels defines metric labels describing algorithm type and other labels as per scenario.
PrivacyLabels defines metrics describing the result of privacy enforcement.
RequestLabels defines metric labels describing the result of a network request.
No description provided by the author

# Interfaces

MetricsEngine is a generic interface to record PBS metrics into the desired backend The first three metrics function fire off once per incoming request, so total metrics will equal the total number of incoming requests.

# Type aliases

AdapterBid : Whether or not the adapter returned bids.
AdapterError : Errors which may have occurred during the adapter's execution.
CacheResult : Cache hit/miss.
CookieFlag : User ID cookie exists flag.
CookieSyncStatus is a status code resulting from a call to the /cookie_sync endpoint.
DemandSource : Demand source enumeration.
ImpMediaType : Media type described in the "imp" JSON object TODO is this still needed?.
RequestStatus : The request return status.
RequestType : Request type enumeration.
SetUidStatus is a status code resulting from a call to the /setuid endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
SyncerCookieSyncStatus is a status code from an invocation of a syncer resulting from a call to the /cookie_sync endpoint.
SyncerSetUidStatus is a status code from an invocation of a syncer resulting from a call to the /setuid endpoint.
TCFVersionValue : The possible values for TCF versions.