Grafana alerting query

i am getting this error - Error: tsdb.HandleRequest() error Post “localhost:19090”: unsupported protocol scheme “localhost”

solved now, while adding data source in grafana full domain name was missing.