fn retrieve_metric_name_from_promql(query: &str) -> Option<String>
Try to parse and extract the name of referenced metric from the promql query.
Returns the metric name if a single metric is referenced, otherwise None.