Project

General

Profile

Actions

Feature #39292

open

Add cache HIT/MISS logging for Candlepin proxy caches

Added by Pablo Méndez Hernández about 1 month ago. Updated 17 days ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The compliance cache (#39195), Candlepin status cache (#39204), and proxy GET caches emit no log lines when serving from cache vs fetching from Candlepin. This makes it difficult to verify cache effectiveness in production.

Add debug-level log lines using the :registration named logger (Foreman #39290) that emit cache=HIT or cache=MISS for each cached endpoint. At the default info level, no additional log lines appear.

Depends on: Foreman #39290 (:registration named logger)

Actions #1

Updated by Vladimir Sedmik about 1 month ago

  • Category set to Subscriptions
  • Target version set to Katello 5.0.0
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot 17 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/11727 added
Actions

Also available in: Atom PDF