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

Port PR from PBS-Java: Core: Improve traceability for Prebid Cache stores #4230

Open
cross-repo-issue-creation bot opened this issue Feb 20, 2025 · 1 comment

Comments

@cross-repo-issue-creation
Copy link

A PR was merged over on PBS-Java

@bretg
Copy link
Contributor

bretg commented Feb 21, 2025

PBS is creating the UUID to contain more useful information

  • a host-level flag cache.append-trace-info-to-cache-id:true causes the addition account ID and datacenter to UUID
  • datacenter comes from datacenter-region, but truncated to 4 chars. (we might remove dashes from the datacenter someday soon)
  • Random UUID is generated and then replace the first portion of the UUID with account and datacenter. e.g.
ACCOUNT-DATACENTER-tailPortionOfUUID

(the code currently appends the head portion of the UUID, but we plan to change this to tail)

Metrics

We can now track details about the cache TTL at the global and per-account level

  • prebid_cache.creative_ttl.{json,xml}.METER
  • account.*.prebid_cache.creative_ttl.{json,xml}.METER - this is logged always, not constrained to basic or detailed verbosity.

@bretg bretg added the PBS-Go label Feb 21, 2025
@bretg bretg moved this from Triage to Ready for Dev in Prebid Server Prioritization Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for Dev
Development

No branches or pull requests

1 participant