Dashboard: https://grafana.wikimedia.org/d/lqE4lcGWz/wanobjectcache-key-group
These entries are caused by improper keys in two callers within WikibaseMediaInfo. They should use hashing for the user provided key components. Now, I see:
$cacheKeys = $this->objectCache->makeMultiKeys(
$searchQueries,
function ( $query ) {
return $this->objectCache->makeKey(
$this->keyPrefix,
$query,
$this->inputLanguage,
$this->outputLanguage
);
}
);The first key component (e.g. 'wbmi-mediasearch-entities' by default) should be useful name for a bucket of keys that have their metrics aggregated together. There should not be URLs/domains in them. Now, I see:
"wbmi-mediasearch-entities-$entitySearchBaseUri-$titleMatchBaseUri"