I have a Prometheus metric as shown below
query_duration{query = "SELECT * FROM TABLE_NAME"}
I'm trying to extract only TABLE_NAME from the label query. I'm trying to use regex to extract TABLE_NAME.
How can I extract the table name from the query label in promql ?