|
|
@ -226,9 +226,6 @@ class DataSourceWithBackend< |
|
|
|
if (!(config.featureToggles.queryService || config.featureToggles.grafanaAPIServerWithExperimentalAPIs)) { |
|
|
|
if (!(config.featureToggles.queryService || config.featureToggles.grafanaAPIServerWithExperimentalAPIs)) { |
|
|
|
console.warn('feature toggle queryServiceFromUI also requires the queryService to be running'); |
|
|
|
console.warn('feature toggle queryServiceFromUI also requires the queryService to be running'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (!hasExpr && dsUIDs.size === 1) { |
|
|
|
|
|
|
|
// TODO? can we talk directly to the apiserver?
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
url = `/apis/query.grafana.app/v0alpha1/namespaces/${config.namespace}/query?ds_type=${this.type}`; |
|
|
|
url = `/apis/query.grafana.app/v0alpha1/namespaces/${config.namespace}/query?ds_type=${this.type}`; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|