Azure Monitor: Azure routes from Grafana Azure SDK (#82043)
Prometheus: Azure routes from Grafana Azure SDK
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"github.com/grafana/grafana-azure-sdk-go/azsettings"
|
||||
"github.com/grafana/grafana-plugin-sdk-go/backend/log"
|
||||
|
||||
"github.com/grafana/grafana/pkg/tsdb/azuremonitor/metrics"
|
||||
@@ -105,7 +104,7 @@ func Test_handleResourceReq(t *testing.T) {
|
||||
im: &fakeInstance{
|
||||
services: map[string]types.DatasourceService{
|
||||
azureMonitor: {
|
||||
URL: routes[azsettings.AzurePublic][azureMonitor].URL,
|
||||
URL: "https://management.azure.com",
|
||||
HTTPClient: &http.Client{},
|
||||
Logger: log.DefaultLogger,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user