I have the similar issue on
drush updbPlease configure the drupal prometheusio_bin cache bin to use either - cache.backend.permanent_database - cache.backend.permanent_redis - cache.backend.permanent_memcacheCould you please dump the value of get_class($cacheBackend) here in the constructor and report back? (there might be other modules that are incompatible with this one)
It seems that during drush updb
$cacheBackendis instance of\Drupal\Core\Update\UpdateBackendwhich wraps\Drupal\pcb\Cache\PermanentDatabaseBackend- Issue was unassigned.
 - Status changed to Needs work
over 2 years ago 7:56pm 1 March 2023 Here is the patch to fast fix. Not sure if this is the best solution, it just prevent throwing the exception on any
NullBackendin\Drupal\prometheusio_exporter\Prometheus\Storage\DrupalCache::__construct()- 
            
              Eugene Bocharov →
             authored f8e54476 on 2.x
Issue #3254698 by Eugene Bocharov: RuntimeException "Please configure...
 
- 
            
              Eugene Bocharov →
             authored f8e54476 on 2.x
 - Status changed to Fixed
over 2 years ago 2:34pm 8 June 2023 - 🇪🇸Spain grota
Thank you @eugene-bocharov, it's taken me a while but I finally managed to include your patch: I went with the more conservative check agains UpdateBackend, but I gave you credits in the commit.
 - 
            
              Eugene Bocharov →
             authored fd202afe on 8.x-1.x
Issue #3254698 by Eugene Bocharov: RuntimeException "Please configure...
 
- 
            
              Eugene Bocharov →
             authored fd202afe on 8.x-1.x
 Automatically closed - issue fixed for 2 weeks with no activity.