How to access metadata (MetaJson) in a DatasourceResponse

Hi all,

I’m working on a datasource plugin for Apache Cassandra and I have an issue related to response. Any help heartedly welcomed!

  1. On the backend side I set QueryResult.MetaJson:
    image

  2. Metadata is available in the HTTP response as “meta”:
    image

  3. But it is missing in the response object I get in datasource.ts


    image

So the metadata is being sent and received but never passed to my datasource. Is it as designed or is it a bug? Does backendsrv cuts the metadata? Finally, how should I pass to the frontend arbitrary data which isn’t timeseries neither table (e.g. column suggestions for query editor)?