Grafana/Opentsdb: Unable To Use Dashboard Variables in Filter Keys

  • What Grafana version and what operating system are you using?

    • v9.1.6
  • What are you trying to achieve?

    • I want to be able to use variables in filter keys for queries
  • How are you trying to achieve it?

    • Using variable replacement syntax in filter keys
  • What happened?

    • No variables are replaced in filter keys
  • What did you expect to happen?

    • Variables should be replaced in filter keys not just filter key values
  • Can you copy/paste the configuration(s) that you are having problems with?

Ultimate goal is to able to use variables in filter keys in a dynamic manner. For example: I want be able to do: ${agent_name}_status and that filter key should be replaced with ma_status if the chosen value for agent_name Grafana variable is ma in this case.

According to Unable to use variables in opentsdb query filter key · Issue #43258 · grafana/grafana · GitHub, this support may have already been added but trying with latest/v9.1.6, I am unable to do so. Is this possible today? If not, can this be a feature request?