RunStreamRequest not giving access to the queries

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

  • What are you trying to achieve?
    I am trying to stream data from Grafana Backend Plugin.

  • How are you trying to achieve it?
    I have implemented the Backend plugin as per the recommended mechanism

  • What happened?
    I am not able to get hold of the queries in the RunStreamRequest() method. Whereas I could get hold of the queries in the QueryData() method with the *backend.QueryDataRequest reference and execute them, the subsequent streaming call to RunStreamRequest() method does not expose the queries through *backend.RunStreamRequest. Please help me and tell me how do I get hold of the queries so that I can fetch them and execute them at my end.

  • What did you expect to happen?
    I was expecting that the *backend.RunStreamRequest would give me the list of queries that I can loop through and execute to fetch data from my backend system.

  • 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?