Ceph - Pool: choose pool by name

Hi, I have a ceph-pools dashboard and I am able to choose a pool by id. But I need to chooose a pool by its name.
In ceph_exporter metrics the name is here:
ceph_pool_metadata{pool_id=“63”,name=“pool_name”} 1.0

I have variable $pool = pool_id, all metrics are paired to the pool by pool id. With pool_id everything works ok.


query for metric:
Grafana - Ceph - Pool (1)

I can get the names the same way as I get the ids, however, I am not able to use the names for the query.
How can I choose the pool by name?

Thanks.