InfluxDB: Introduce influxqlStreamingParser feature toggle (#78834)

introduce influxqlStreamingParser feature toggle
This commit is contained in:
ismail simsek 2023-11-29 18:29:35 +01:00 committed by GitHub
parent b3deef8f4b
commit 5845f14075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 0 deletions

View File

@ -103,6 +103,7 @@ Experimental features might be changed or removed without prior notice.
| `editPanelCSVDragAndDrop` | Enables drag and drop for CSV and Excel files | | `editPanelCSVDragAndDrop` | Enables drag and drop for CSV and Excel files |
| `lokiQuerySplittingConfig` | Give users the option to configure split durations for Loki queries | | `lokiQuerySplittingConfig` | Give users the option to configure split durations for Loki queries |
| `individualCookiePreferences` | Support overriding cookie preferences per user | | `individualCookiePreferences` | Support overriding cookie preferences per user |
| `influxqlStreamingParser` | Enable streaming JSON parser for InfluxDB datasource InfluxQL query language |
| `lokiLogsDataplane` | Changes logs responses from Loki to be compliant with the dataplane specification. | | `lokiLogsDataplane` | Changes logs responses from Loki to be compliant with the dataplane specification. |
| `disableSSEDataplane` | Disables dataplane specific processing in server side expressions. | | `disableSSEDataplane` | Disables dataplane specific processing in server side expressions. |
| `alertStateHistoryLokiSecondary` | Enable Grafana to write alert state history to an external Loki instance in addition to Grafana annotations. | | `alertStateHistoryLokiSecondary` | Enable Grafana to write alert state history to an external Loki instance in addition to Grafana annotations. |

View File

@ -65,6 +65,7 @@ export interface FeatureToggles {
individualCookiePreferences?: boolean; individualCookiePreferences?: boolean;
prometheusMetricEncyclopedia?: boolean; prometheusMetricEncyclopedia?: boolean;
influxdbBackendMigration?: boolean; influxdbBackendMigration?: boolean;
influxqlStreamingParser?: boolean;
clientTokenRotation?: boolean; clientTokenRotation?: boolean;
prometheusDataplane?: boolean; prometheusDataplane?: boolean;
lokiMetricDataplane?: boolean; lokiMetricDataplane?: boolean;

View File

@ -358,6 +358,12 @@ var (
Expression: "true", // enabled by default Expression: "true", // enabled by default
AllowSelfServe: falsePtr, AllowSelfServe: falsePtr,
}, },
{
Name: "influxqlStreamingParser",
Description: "Enable streaming JSON parser for InfluxDB datasource InfluxQL query language",
Stage: FeatureStageExperimental,
Owner: grafanaObservabilityMetricsSquad,
},
{ {
Name: "clientTokenRotation", Name: "clientTokenRotation",
Description: "Replaces the current in-request token rotation so that the client initiates the rotation", Description: "Replaces the current in-request token rotation so that the client initiates the rotation",

View File

@ -46,6 +46,7 @@ lokiQuerySplittingConfig,experimental,@grafana/observability-logs,false,false,fa
individualCookiePreferences,experimental,@grafana/backend-platform,false,false,false,false individualCookiePreferences,experimental,@grafana/backend-platform,false,false,false,false
prometheusMetricEncyclopedia,GA,@grafana/observability-metrics,false,false,false,true prometheusMetricEncyclopedia,GA,@grafana/observability-metrics,false,false,false,true
influxdbBackendMigration,GA,@grafana/observability-metrics,false,false,false,true influxdbBackendMigration,GA,@grafana/observability-metrics,false,false,false,true
influxqlStreamingParser,experimental,@grafana/observability-metrics,false,false,false,false
clientTokenRotation,GA,@grafana/identity-access-team,false,false,false,false clientTokenRotation,GA,@grafana/identity-access-team,false,false,false,false
prometheusDataplane,GA,@grafana/observability-metrics,false,false,false,false prometheusDataplane,GA,@grafana/observability-metrics,false,false,false,false
lokiMetricDataplane,GA,@grafana/observability-logs,false,false,false,false lokiMetricDataplane,GA,@grafana/observability-logs,false,false,false,false

1 Name Stage Owner requiresDevMode RequiresLicense RequiresRestart FrontendOnly
46 individualCookiePreferences experimental @grafana/backend-platform false false false false
47 prometheusMetricEncyclopedia GA @grafana/observability-metrics false false false true
48 influxdbBackendMigration GA @grafana/observability-metrics false false false true
49 influxqlStreamingParser experimental @grafana/observability-metrics false false false false
50 clientTokenRotation GA @grafana/identity-access-team false false false false
51 prometheusDataplane GA @grafana/observability-metrics false false false false
52 lokiMetricDataplane GA @grafana/observability-logs false false false false

View File

@ -195,6 +195,10 @@ const (
// Query InfluxDB InfluxQL without the proxy // Query InfluxDB InfluxQL without the proxy
FlagInfluxdbBackendMigration = "influxdbBackendMigration" FlagInfluxdbBackendMigration = "influxdbBackendMigration"
// FlagInfluxqlStreamingParser
// Enable streaming JSON parser for InfluxDB datasource InfluxQL query language
FlagInfluxqlStreamingParser = "influxqlStreamingParser"
// FlagClientTokenRotation // FlagClientTokenRotation
// Replaces the current in-request token rotation so that the client initiates the rotation // Replaces the current in-request token rotation so that the client initiates the rotation
FlagClientTokenRotation = "clientTokenRotation" FlagClientTokenRotation = "clientTokenRotation"