In some cases we want to replace some node in metrics path to anoter node\nodes resolved from external dictionary.
For example we have scope of metrics from virtual machine placed to following structure:
someprefix
------------vmhostname
--------------------------hostname
-------------------------------------hostname_metrics
--------------------------instance-XXXXXXX
----------------------------------------------instance_metrics
It would be great to replace instance-XXXXXXX to another nodename resolved from dictionary (for example tenant.vmname). The values of dictionary can be taked from pgsql \ mysql \ Clikhouse table\ or request.