After upgrading grafana to v11.0.0, variables field not working

  • What Grafana version and what operating system are you using?
    v11.3.0 and linux

  • What are you trying to achieve?
    In v8.5.27 the below query was working fine but after upg to v11.3.0 its not.
    label_values(pg_stat_user_tables_n_tup_ins{namespace=~‘$CBCSystem’},schemaname)

  • How are you trying to achieve it?
    with same configuration in grafana v8.5.27 it was working fine.

  • What happened?


  • What did you expect to happen?
    with same configuration in grafana v8.5.27 it was working fine.

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?