Feature Flags: Remove queryServiceFromExplore (#115168)
* Remove feature flag: queryServiceFromExplore * Remove CoreApp
This commit is contained in:
@@ -309,10 +309,6 @@ export interface FeatureToggles {
|
||||
*/
|
||||
queryServiceFromUI?: boolean;
|
||||
/**
|
||||
* Routes explore requests to the new query service
|
||||
*/
|
||||
queryServiceFromExplore?: boolean;
|
||||
/**
|
||||
* Runs CloudWatch metrics queries as separate batches
|
||||
*/
|
||||
cloudWatchBatchQueries?: boolean;
|
||||
|
||||
@@ -17,7 +17,6 @@ import {
|
||||
parseLiveChannelAddress,
|
||||
ScopedVars,
|
||||
AdHocVariableFilter,
|
||||
CoreApp,
|
||||
} from '@grafana/data';
|
||||
|
||||
import { reportInteraction } from '../analytics/utils';
|
||||
@@ -209,11 +208,6 @@ class DataSourceWithBackend<
|
||||
|
||||
let url = '/api/ds/query?ds_type=' + this.type;
|
||||
|
||||
// Use the new query service for explore
|
||||
if (config.featureToggles.queryServiceFromExplore && request.app === CoreApp.Explore) {
|
||||
url = `/apis/query.grafana.app/v0alpha1/namespaces/${config.namespace}/query?ds_type=${this.type}`;
|
||||
}
|
||||
|
||||
// Use the new query service
|
||||
if (config.featureToggles.queryServiceFromUI) {
|
||||
url = `/apis/query.grafana.app/v0alpha1/namespaces/${config.namespace}/query?ds_type=${this.type}`;
|
||||
|
||||
@@ -494,13 +494,6 @@ var (
|
||||
Owner: grafanaDatasourcesCoreServicesSquad,
|
||||
FrontendOnly: true, // and can change at startup
|
||||
},
|
||||
{
|
||||
Name: "queryServiceFromExplore",
|
||||
Description: "Routes explore requests to the new query service",
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaDatasourcesCoreServicesSquad,
|
||||
FrontendOnly: true,
|
||||
},
|
||||
{
|
||||
Name: "cloudWatchBatchQueries",
|
||||
Description: "Runs CloudWatch metrics queries as separate batches",
|
||||
|
||||
Generated
-1
@@ -68,7 +68,6 @@ queryService,experimental,@grafana/grafana-datasources-core-services,false,true,
|
||||
queryServiceWithConnections,experimental,@grafana/grafana-datasources-core-services,false,true,false
|
||||
queryServiceRewrite,experimental,@grafana/grafana-datasources-core-services,false,true,false
|
||||
queryServiceFromUI,experimental,@grafana/grafana-datasources-core-services,false,false,true
|
||||
queryServiceFromExplore,experimental,@grafana/grafana-datasources-core-services,false,false,true
|
||||
cloudWatchBatchQueries,preview,@grafana/aws-datasources,false,false,false
|
||||
cachingOptimizeSerializationMemoryUsage,experimental,@grafana/grafana-operator-experience-squad,false,false,false
|
||||
alertmanagerRemoteSecondary,experimental,@grafana/alerting-squad,false,false,false
|
||||
|
||||
|
+2
-1
@@ -2911,7 +2911,8 @@
|
||||
"metadata": {
|
||||
"name": "queryServiceFromExplore",
|
||||
"resourceVersion": "1764664939750",
|
||||
"creationTimestamp": "2025-04-02T10:00:33Z"
|
||||
"creationTimestamp": "2025-04-02T10:00:33Z",
|
||||
"deletionTimestamp": "2025-12-10T20:33:21Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Routes explore requests to the new query service",
|
||||
|
||||
Reference in New Issue
Block a user