axiomhq / axiom-grafana

The official Axiom datasource plugin for Grafana.
https://axiom.co
Apache License 2.0
6 stars 3 forks source link

chore: omit query request if apl is empty #20

Closed a-khaledf closed 1 year ago

a-khaledf commented 1 year ago

Creating a new panel with axiom datasource always show this error image

that's because when creating new panel, grafana automatically send query request even if the user didn't input any APL query.

This PR will check if APL is empty and just return empty response instead of querying the host