Tempo: Remove traceqlSearch feature toggle (#72029)

* Remove feature flag from registry.go

* Remove usages of toggle

* Refactor and cleanup Tempo's query field components

* Added deprecation alert

* Mark nativeSearch fields as deprecated

* Also show deprecated search tab if queryType is nativeSearch

* Update deprecation message to list grafana version

* Fix merge conflict

* Remove mention of toggle from docs
This commit is contained in:
Andre Pereira
2023-07-24 16:26:10 +01:00
committed by GitHub
parent 7f4d8de6f5
commit bd59a27b99
23 changed files with 130 additions and 138 deletions
@@ -65,7 +65,6 @@ export interface FeatureToggles {
lokiQuerySplittingConfig?: boolean;
individualCookiePreferences?: boolean;
onlyExternalOrgRoleSync?: boolean;
traceqlSearch?: boolean;
prometheusMetricEncyclopedia?: boolean;
timeSeriesTable?: boolean;
prometheusResourceBrowserCache?: boolean;
@@ -20,11 +20,11 @@ export interface TempoQuery extends common.DataQuery {
*/
limit?: number;
/**
* Define the maximum duration to select traces. Use duration format, for example: 1.2s, 100ms
* @deprecated Define the maximum duration to select traces. Use duration format, for example: 1.2s, 100ms
*/
maxDuration?: string;
/**
* Define the minimum duration to select traces. Use duration format, for example: 1.2s, 100ms
* @deprecated Define the minimum duration to select traces. Use duration format, for example: 1.2s, 100ms
*/
minDuration?: string;
/**
@@ -32,7 +32,7 @@ export interface TempoQuery extends common.DataQuery {
*/
query: string;
/**
* Logfmt query to filter traces by their tags. Example: http.status_code=200 error=true
* @deprecated Logfmt query to filter traces by their tags. Example: http.status_code=200 error=true
*/
search?: string;
/**
@@ -44,11 +44,11 @@ export interface TempoQuery extends common.DataQuery {
*/
serviceMapQuery?: string;
/**
* Query traces by service name
* @deprecated Query traces by service name
*/
serviceName?: string;
/**
* Query traces by span name
* @deprecated Query traces by span name
*/
spanName?: string;
/**