Remote Tag Provider History Settings with more than two gateways

Here's the diagram from the documentation

We have remote tag providers on several gateways that our front end sever needs tag historical data from. I want to have the front end gateway query the data directly from database instead of it being routed through the gateway network with our multiple backend gateways housing the tag providers.

Im curious how I might fill in "History Driver" and "History Provider" with multiple gateways and multiple tag providers? Leave them blank?

You might find this discussion helpful:

FWIW, my new Exchange resource uses the reflection technique, discussed here:

Fundamentally, you should be using fully-qualified historical tag paths (start with histprov:) rather than simple tag paths (start with [provider]).