Describe the bug
result = grafana.datasource.smartquery(datasource=datasource, expression='openstack_nova_total_vms')
I have called smartquery for the type=prometheus.
This function doesn't take from and to keys which is required to call grafana for the prometheus query, otherwise it is giving 200 ok but the output doesn't contain any data. But if provided with timestamp in from and to it gives the data.
This is the result:
{'results': {'A': {'status': 200, 'frames': []}}}