I want to manipulate the display name using regexp in a Grafana dashboard, say, I want to go from monitoring_prometheus_1
to prometheus
, In python I would do
re.sub('monitoring_(.*)_1', r'\1', 'monitoring_prometheus_1')
Is there any way I can acheive this ?