2022-04-01 01:32:00 -05:00
// NOTE: This file was auto generated. DO NOT EDIT DIRECTLY!
// To change feature flags, edit:
// pkg/services/featuremgmt/registry.go
// Then run tests in:
// pkg/services/featuremgmt/toggles_gen_test.go
2022-01-26 11:44:20 -06:00
package featuremgmt
const (
2022-05-24 03:34:47 -05:00
// FlagDisableEnvelopeEncryption
// Disable envelope encryption (emergency only)
FlagDisableEnvelopeEncryption = "disableEnvelopeEncryption"
2022-01-26 11:44:20 -06:00
// FlagLiveServiceWebWorker
// This will use a webworker thread to processes events rather than the main thread
FlagLiveServiceWebWorker = "live-service-web-worker"
// FlagQueryOverLive
2022-11-30 15:50:20 -06:00
// Use Grafana Live WebSocket to execute backend queries
2022-01-26 11:44:20 -06:00
FlagQueryOverLive = "queryOverLive"
2022-02-15 12:26:03 -06:00
// FlagPanelTitleSearch
// Search for dashboards using panel title
FlagPanelTitleSearch = "panelTitleSearch"
2022-04-07 13:30:19 -05:00
// FlagPublicDashboards
2022-11-30 15:50:20 -06:00
// Enables public access to dashboards
2022-04-07 13:30:19 -05:00
FlagPublicDashboards = "publicDashboards"
2023-01-03 13:45:15 -06:00
// FlagPublicDashboardsEmailSharing
2023-03-07 13:42:24 -06:00
// Enables public dashboard sharing to be restricted to only allowed emails
2023-01-03 13:45:15 -06:00
FlagPublicDashboardsEmailSharing = "publicDashboardsEmailSharing"
2023-06-19 05:03:51 -05:00
// FlagLokiExperimentalStreaming
// Support new streaming approach for loki (prototype, needs special loki build)
FlagLokiExperimentalStreaming = "lokiExperimentalStreaming"
2022-03-01 16:46:52 -06:00
2022-02-03 05:53:23 -06:00
// FlagFeatureHighlights
2022-11-30 15:50:20 -06:00
// Highlight Grafana Enterprise features
2022-02-03 05:53:23 -06:00
FlagFeatureHighlights = "featureHighlights"
2022-02-15 10:54:27 -06:00
// FlagMigrationLocking
// Lock database during migrations
FlagMigrationLocking = "migrationLocking"
2022-03-14 14:07:45 -05:00
2022-03-17 12:19:23 -05:00
// FlagStorage
// Configurable storage for dashboards, datasources, and resources
FlagStorage = "storage"
2022-09-16 08:14:27 -05:00
// FlagCorrelations
// Correlations page
FlagCorrelations = "correlations"
2023-10-13 11:57:13 -05:00
// FlagExploreContentOutline
// Content outline sidebar
FlagExploreContentOutline = "exploreContentOutline"
2022-05-03 11:02:20 -05:00
// FlagDatasourceQueryMultiStatus
// Introduce HTTP 207 Multi Status for api/ds/query
FlagDatasourceQueryMultiStatus = "datasourceQueryMultiStatus"
2022-05-04 08:54:09 -05:00
2022-05-05 15:46:18 -05:00
// FlagTraceToMetrics
// Enable trace to metrics links
FlagTraceToMetrics = "traceToMetrics"
2022-05-13 13:28:54 -05:00
2022-10-25 20:20:41 -05:00
// FlagNewDBLibrary
// Use jmoiron/sqlx rather than xorm for a few backend services
FlagNewDBLibrary = "newDBLibrary"
2023-03-22 23:02:36 -05:00
// FlagAutoMigrateOldPanels
// Migrate old angular panels to supported versions (graph, table-old, worldmap, etc)
FlagAutoMigrateOldPanels = "autoMigrateOldPanels"
2022-06-10 19:12:56 -05:00
2023-03-23 10:43:45 -05:00
// FlagDisableAngular
// Dynamic flag to disable angular at runtime. The preferred method is to set `angular_support_enabled` to `false` in the [security] settings, which allows you to change the state at runtime.
FlagDisableAngular = "disableAngular"
2022-05-31 14:03:34 -05:00
// FlagCanvasPanelNesting
// Allow elements nesting
FlagCanvasPanelNesting = "canvasPanelNesting"
2022-06-09 08:56:32 -05:00
2022-07-07 01:53:02 -05:00
// FlagScenes
// Experimental framework to build interactive dashboards
FlagScenes = "scenes"
2022-07-12 15:27:37 -05:00
// FlagDisableSecretsCompatibility
// Disable duplicated secret storage in legacy tables
FlagDisableSecretsCompatibility = "disableSecretsCompatibility"
2022-06-10 03:56:55 -05:00
// FlagLogRequestsInstrumentedAsUnknown
// Logs the path for requests that are instrumented as unknown
FlagLogRequestsInstrumentedAsUnknown = "logRequestsInstrumentedAsUnknown"
2022-06-10 05:13:31 -05:00
// FlagDataConnectionsConsole
2022-11-30 15:50:20 -06:00
// Enables a new top-level page called Connections. This page is an experiment that provides a better experience when you install and configure data sources and other plugins.
2022-06-10 05:13:31 -05:00
FlagDataConnectionsConsole = "dataConnectionsConsole"
2022-06-10 06:02:52 -05:00
2022-06-20 09:25:43 -05:00
// FlagTopnav
2023-07-26 06:07:18 -05:00
// Enables topnav support in external plugins. The new Grafana navigation cannot be disabled.
2022-06-20 09:25:43 -05:00
FlagTopnav = "topnav"
2022-06-22 10:05:52 -05:00
2023-09-18 05:57:11 -05:00
// FlagDockedMegaMenu
// Enable support for a persistent (docked) navigation menu
FlagDockedMegaMenu = "dockedMegaMenu"
2022-09-26 15:25:34 -05:00
// FlagGrpcServer
2023-04-04 02:42:07 -05:00
// Run the GRPC server
2022-09-26 15:25:34 -05:00
FlagGrpcServer = "grpcServer"
2022-11-30 16:52:15 -06:00
// FlagEntityStore
// SQL-based entity store (requires storage flag also)
FlagEntityStore = "entityStore"
2022-10-06 14:48:53 -05:00
2022-11-28 05:39:12 -06:00
// FlagCloudWatchCrossAccountQuerying
2023-01-27 15:46:08 -06:00
// Enables cross-account querying in CloudWatch datasources
2022-11-28 05:39:12 -06:00
FlagCloudWatchCrossAccountQuerying = "cloudWatchCrossAccountQuerying"
2022-09-05 10:39:45 -05:00
// FlagRedshiftAsyncQueryDataSupport
// Enable async query data support for Redshift
FlagRedshiftAsyncQueryDataSupport = "redshiftAsyncQueryDataSupport"
// FlagAthenaAsyncQueryDataSupport
// Enable async query data support for Athena
FlagAthenaAsyncQueryDataSupport = "athenaAsyncQueryDataSupport"
2022-09-12 02:50:54 -05:00
2023-09-25 13:19:12 -05:00
// FlagCloudwatchNewRegionsHandler
// Refactor of /regions endpoint, no user-facing changes
FlagCloudwatchNewRegionsHandler = "cloudwatchNewRegionsHandler"
2022-10-14 08:51:05 -05:00
// FlagShowDashboardValidationWarnings
2022-11-30 15:50:20 -06:00
// Show warnings when dashboards do not validate against the schema
2022-10-14 08:51:05 -05:00
FlagShowDashboardValidationWarnings = "showDashboardValidationWarnings"
2022-10-12 06:43:35 -05:00
// FlagMysqlAnsiQuotes
2022-11-30 15:50:20 -06:00
// Use double quotes to escape keyword in a MySQL query
2022-10-12 06:43:35 -05:00
FlagMysqlAnsiQuotes = "mysqlAnsiQuotes"
2022-10-19 11:10:09 -05:00
// FlagAccessControlOnCall
// Access control primitives for OnCall
FlagAccessControlOnCall = "accessControlOnCall"
2022-10-26 09:15:14 -05:00
// FlagNestedFolders
// Enable folder nesting
FlagNestedFolders = "nestedFolders"
2022-11-10 09:35:15 -06:00
2023-06-28 04:40:29 -05:00
// FlagNestedFolderPicker
2023-10-12 11:56:49 -05:00
// Enables the new folder picker to work with nested folders. Requires the nestedFolders feature toggle
2023-06-28 04:40:29 -05:00
FlagNestedFolderPicker = "nestedFolderPicker"
2022-11-14 09:47:46 -06:00
// FlagAccessTokenExpirationCheck
// Enable OAuth access_token expiration check and token refresh using the refresh_token
FlagAccessTokenExpirationCheck = "accessTokenExpirationCheck"
2023-03-28 04:42:23 -05:00
// FlagEmptyDashboardPage
// Enable the redesigned user interface of a dashboard page that includes no panels
FlagEmptyDashboardPage = "emptyDashboardPage"
2022-12-19 09:00:15 -06:00
// FlagDisablePrometheusExemplarSampling
2023-03-27 08:52:27 -05:00
// Disable Prometheus exemplar sampling
2022-12-19 09:00:15 -06:00
FlagDisablePrometheusExemplarSampling = "disablePrometheusExemplarSampling"
2022-12-14 08:44:14 -06:00
// FlagAlertingBacktesting
// Rule backtesting API for alerting
FlagAlertingBacktesting = "alertingBacktesting"
2023-01-13 17:29:29 -06:00
2023-01-24 03:43:44 -06:00
// FlagEditPanelCSVDragAndDrop
// Enables drag and drop for CSV and Excel files
FlagEditPanelCSVDragAndDrop = "editPanelCSVDragAndDrop"
2023-01-13 17:29:29 -06:00
// FlagAlertingNoNormalState
// Stop maintaining state of alerts that are not firing
FlagAlertingNoNormalState = "alertingNoNormalState"
2023-01-20 09:29:23 -06:00
2023-01-27 08:12:01 -06:00
// FlagLogsContextDatasourceUi
// Allow datasource to provide custom UI for context view
FlagLogsContextDatasourceUi = "logsContextDatasourceUi"
2023-02-09 11:27:02 -06:00
// FlagLokiQuerySplitting
// Split large interval queries into subqueries with smaller time intervals
FlagLokiQuerySplitting = "lokiQuerySplitting"
2023-02-21 04:19:07 -06:00
2023-03-20 10:51:36 -05:00
// FlagLokiQuerySplittingConfig
// Give users the option to configure split durations for Loki queries
FlagLokiQuerySplittingConfig = "lokiQuerySplittingConfig"
2023-02-21 04:19:07 -06:00
// FlagIndividualCookiePreferences
// Support overriding cookie preferences per user
FlagIndividualCookiePreferences = "individualCookiePreferences"
2023-03-01 04:26:19 -06:00
2023-07-25 07:27:02 -05:00
// FlagGcomOnlyExternalOrgRoleSync
// Prohibits a user from changing organization roles synced with Grafana Cloud auth provider
FlagGcomOnlyExternalOrgRoleSync = "gcomOnlyExternalOrgRoleSync"
2023-03-07 12:41:05 -06:00
// FlagPrometheusMetricEncyclopedia
2023-06-23 08:20:23 -05:00
// Adds the metrics explorer component to the Prometheus query builder as an option in metric select
2023-03-07 12:41:05 -06:00
FlagPrometheusMetricEncyclopedia = "prometheusMetricEncyclopedia"
2023-03-10 06:41:06 -06:00
2023-03-15 12:12:16 -05:00
// FlagInfluxdbBackendMigration
// Query InfluxDB InfluxQL without the proxy
FlagInfluxdbBackendMigration = "influxdbBackendMigration"
2023-03-23 08:39:04 -05:00
// FlagClientTokenRotation
// Replaces the current in-request token rotation so that the client initiates the rotation
FlagClientTokenRotation = "clientTokenRotation"
2023-03-27 08:52:27 -05:00
2023-03-29 10:26:32 -05:00
// FlagPrometheusDataplane
2023-10-12 11:56:49 -05:00
// Changes responses to from Prometheus to be compliant with the dataplane specification. In particular, when this feature toggle is active, the numeric `Field.Name` is set from 'Value' to the value of the `__name__` label.
2023-03-29 10:26:32 -05:00
FlagPrometheusDataplane = "prometheusDataplane"
2023-03-30 13:53:21 -05:00
2023-04-13 08:07:08 -05:00
// FlagLokiMetricDataplane
2023-04-25 05:46:07 -05:00
// Changes metric responses from Loki to be compliant with the dataplane specification.
2023-04-13 08:07:08 -05:00
FlagLokiMetricDataplane = "lokiMetricDataplane"
2023-07-13 02:58:00 -05:00
// FlagLokiLogsDataplane
// Changes logs responses from Loki to be compliant with the dataplane specification.
FlagLokiLogsDataplane = "lokiLogsDataplane"
2023-04-24 12:29:54 -05:00
// FlagDataplaneFrontendFallback
// Support dataplane contract field name change for transformations and field name matchers where the name is different
FlagDataplaneFrontendFallback = "dataplaneFrontendFallback"
// FlagDisableSSEDataplane
// Disables dataplane specific processing in server side expressions.
FlagDisableSSEDataplane = "disableSSEDataplane"
2023-03-30 13:53:21 -05:00
// FlagAlertStateHistoryLokiSecondary
// Enable Grafana to write alert state history to an external Loki instance in addition to Grafana annotations.
FlagAlertStateHistoryLokiSecondary = "alertStateHistoryLokiSecondary"
2023-05-30 08:15:22 -05:00
// FlagAlertingNotificationsPoliciesMatchingInstances
// Enables the preview of matching instances for notification policies
FlagAlertingNotificationsPoliciesMatchingInstances = "alertingNotificationsPoliciesMatchingInstances"
2023-03-30 13:53:21 -05:00
// FlagAlertStateHistoryLokiPrimary
// Enable a remote Loki instance as the primary source for state history reads.
FlagAlertStateHistoryLokiPrimary = "alertStateHistoryLokiPrimary"
// FlagAlertStateHistoryLokiOnly
// Disable Grafana alerts from emitting annotations when a remote Loki instance is available.
FlagAlertStateHistoryLokiOnly = "alertStateHistoryLokiOnly"
2023-03-31 08:38:09 -05:00
// FlagUnifiedRequestLog
// Writes error logs to the request logger
FlagUnifiedRequestLog = "unifiedRequestLog"
2023-04-03 11:53:38 -05:00
// FlagRenderAuthJWT
// Uses JWT-based auth for rendering instead of relying on remote cache
FlagRenderAuthJWT = "renderAuthJWT"
2023-04-05 07:57:24 -05:00
2023-04-11 08:21:19 -05:00
// FlagExternalServiceAuth
// Starts an OAuth2 authentication provider for external services
FlagExternalServiceAuth = "externalServiceAuth"
2023-06-06 08:12:09 -05:00
// FlagRefactorVariablesTimeRange
// Refactor time range variables flow to reduce number of API calls made when query variables are chained
FlagRefactorVariablesTimeRange = "refactorVariablesTimeRange"
2023-04-12 11:30:33 -05:00
// FlagUseCachingService
2023-10-12 11:56:49 -05:00
// When active, the new query and resource caching implementation using a wire service inject replaces the previous middleware implementation.
2023-04-12 11:30:33 -05:00
FlagUseCachingService = "useCachingService"
2023-04-14 04:24:35 -05:00
// FlagEnableElasticsearchBackendQuerying
// Enable the processing of queries and responses in the Elasticsearch data source through backend
FlagEnableElasticsearchBackendQuerying = "enableElasticsearchBackendQuerying"
2023-04-13 09:07:43 -05:00
2023-04-14 06:01:10 -05:00
// FlagAdvancedDataSourcePicker
2023-05-12 10:09:30 -05:00
// Enable a new data source picker with contextual information, recently used order and advanced mode
2023-04-14 06:01:10 -05:00
FlagAdvancedDataSourcePicker = "advancedDataSourcePicker"
2023-04-14 12:59:31 -05:00
2023-05-04 19:35:10 -05:00
// FlagFaroDatasourceSelector
2023-05-23 09:42:22 -05:00
// Enable the data source selector within the Frontend Apps section of the Frontend Observability
2023-05-04 19:35:10 -05:00
FlagFaroDatasourceSelector = "faroDatasourceSelector"
2023-04-24 09:46:31 -05:00
// FlagEnableDatagridEditing
// Enables the edit functionality in the datagrid panel
FlagEnableDatagridEditing = "enableDatagridEditing"
2023-05-10 08:37:04 -05:00
2023-05-23 08:18:00 -05:00
// FlagDataSourcePageHeader
// Apply new pageHeader UI in data source edit page
FlagDataSourcePageHeader = "dataSourcePageHeader"
2023-05-10 08:37:04 -05:00
// FlagExtraThemes
// Enables extra themes
FlagExtraThemes = "extraThemes"
2023-06-02 05:52:36 -05:00
// FlagLokiPredefinedOperations
// Adds predefined query operations to Loki query editor
FlagLokiPredefinedOperations = "lokiPredefinedOperations"
2023-06-05 03:51:36 -05:00
// FlagPluginsFrontendSandbox
// Enables the plugins frontend sandbox
FlagPluginsFrontendSandbox = "pluginsFrontendSandbox"
2023-06-06 11:28:52 -05:00
2023-07-06 09:43:20 -05:00
// FlagDashboardEmbed
// Allow embedding dashboard for external use in Code editors
FlagDashboardEmbed = "dashboardEmbed"
2023-07-05 06:48:25 -05:00
// FlagFrontendSandboxMonitorOnly
// Enables monitor only in the plugin frontend sandbox (if enabled)
FlagFrontendSandboxMonitorOnly = "frontendSandboxMonitorOnly"
2023-06-06 11:28:52 -05:00
// FlagSqlDatasourceDatabaseSelection
// Enables previous SQL data source dataset dropdown behavior
FlagSqlDatasourceDatabaseSelection = "sqlDatasourceDatabaseSelection"
2023-06-12 08:49:52 -05:00
2023-07-21 07:03:56 -05:00
// FlagLokiFormatQuery
// Enables the ability to format Loki queries
FlagLokiFormatQuery = "lokiFormatQuery"
2023-06-12 08:49:52 -05:00
// FlagCloudWatchLogsMonacoEditor
// Enables the Monaco editor for CloudWatch Logs queries
FlagCloudWatchLogsMonacoEditor = "cloudWatchLogsMonacoEditor"
2023-06-14 07:34:22 -05:00
2023-06-15 06:25:34 -05:00
// FlagExploreScrollableLogsContainer
// Improves the scrolling behavior of logs in Explore
FlagExploreScrollableLogsContainer = "exploreScrollableLogsContainer"
2023-06-14 07:34:22 -05:00
// FlagRecordedQueriesMulti
// Enables writing multiple items from a single query within Recorded Queries
FlagRecordedQueriesMulti = "recordedQueriesMulti"
2023-06-16 12:55:49 -05:00
Plugins: Angular detector: Remote patterns fetching (#69843)
* Plugins: Angular detector: Remote patterns fetching
* Renamed PatternType to GCOMPatternType
* Renamed files
* Renamed more files
* Moved files again
* Add type checks, unexport GCOM structs
* Cache failures, update log messages, fix GCOM URL
* Fail silently for unknown pattern types, update docstrings
* Fix tests
* Rename gcomPattern.Value to gcomPattern.Pattern
* Refactoring
* Add FlagPluginsRemoteAngularDetectionPatterns feature flag
* Fix tests
* Re-generate feature flags
* Add TestProvideInspector, renamed TestDefaultStaticDetectorsInspector
* Add TestProvideInspector
* Add TestContainsBytesDetector and TestRegexDetector
* Renamed getter to provider
* More tests
* TestStaticDetectorsProvider, TestSequenceDetectorsProvider
* GCOM tests
* Lint
* Made detector.detect unexported, updated docstrings
* Allow changing grafana.com URL
* Fix API path, add more logs
* Update tryUpdateRemoteDetectors docstring
* Use angulardetector http client
* Return false, nil if module.js does not exist
* Chore: Split angualrdetector into angularinspector and angulardetector packages
Moved files around, changed references and fixed tests:
- Split the old angulardetector package into angular/angulardetector and angular/angularinspector
- angulardetector provides the detection structs/interfaces (Detector, DetectorsProvider...)
- angularinspector provides the actual angular detection service used directly in pluginsintegration
- Exported most of the stuff that was private and now put into angulardetector, as it is not required by angularinspector
* Renamed detector.go -> angulardetector.go and inspector.go -> angularinspector.go
Forgot to rename those two files to match the package's names
* Renamed angularinspector.ProvideInspector to angularinspector.ProvideService
* Renamed "harcoded" to "static" and "remote" to "dynamic"
from PR review, matches the same naming schema used for signing keys fetching
* Fix merge conflict on updated angular patterns
* Removed GCOM cache
* Renamed Detect to DetectAngular and Detector to AngularDetector
* Fix call to NewGCOMDetectorsProvider in newDynamicInspector
* Removed unused test function newError500GCOMScenario
* Added angularinspector service definition in pluginsintegration
* Moved dynamic inspector into pluginsintegration
* Move gcom angulardetectorsprovider into pluginsintegration
* Log errUnknownPatternType at debug level
* re-generate feature flags
* fix error log
2023-06-26 08:33:21 -05:00
// FlagPluginsDynamicAngularDetectionPatterns
// Enables fetching Angular detection patterns for plugins from GCOM and fallback to hardcoded ones
FlagPluginsDynamicAngularDetectionPatterns = "pluginsDynamicAngularDetectionPatterns"
2023-06-27 05:22:13 -05:00
// FlagVizAndWidgetSplit
2023-10-03 09:43:27 -05:00
// Split panels between visualizations and widgets
2023-06-27 05:22:13 -05:00
FlagVizAndWidgetSplit = "vizAndWidgetSplit"
2023-07-05 14:39:49 -05:00
// FlagPrometheusIncrementalQueryInstrumentation
// Adds RudderStack events to incremental queries
FlagPrometheusIncrementalQueryInstrumentation = "prometheusIncrementalQueryInstrumentation"
2023-07-06 10:06:11 -05:00
2023-07-12 08:52:42 -05:00
// FlagLogsExploreTableVisualisation
// A table visualisation for logs in Explore
FlagLogsExploreTableVisualisation = "logsExploreTableVisualisation"
2023-07-06 10:06:11 -05:00
// FlagAwsDatasourcesTempCredentials
// Support temporary security credentials in AWS plugins for Grafana Cloud customers
FlagAwsDatasourcesTempCredentials = "awsDatasourcesTempCredentials"
2023-07-12 11:35:49 -05:00
// FlagTransformationsRedesign
// Enables the transformations redesign
FlagTransformationsRedesign = "transformationsRedesign"
2023-07-13 12:37:50 -05:00
// FlagMlExpressions
// Enable support for Machine Learning in server-side expressions
FlagMlExpressions = "mlExpressions"
2023-07-14 09:10:46 -05:00
2023-07-26 08:33:16 -05:00
// FlagTraceQLStreaming
// Enables response streaming of TraceQL queries of the Tempo data source
FlagTraceQLStreaming = "traceQLStreaming"
2023-07-14 14:22:10 -05:00
2023-08-28 09:02:12 -05:00
// FlagMetricsSummary
// Enables metrics summary queries in the Tempo data source
FlagMetricsSummary = "metricsSummary"
2023-07-14 14:22:10 -05:00
// FlagGrafanaAPIServer
// Enable Kubernetes API Server for Grafana resources
FlagGrafanaAPIServer = "grafanaAPIServer"
2023-07-18 15:43:32 -05:00
2023-10-06 13:55:22 -05:00
// FlagGrafanaAPIServerWithExperimentalAPIs
// Register experimental APIs with the k8s API server
FlagGrafanaAPIServerWithExperimentalAPIs = "grafanaAPIServerWithExperimentalAPIs"
2023-07-18 15:43:32 -05:00
// FlagFeatureToggleAdminPage
// Enable admin page for managing feature toggles from the Grafana front-end
FlagFeatureToggleAdminPage = "featureToggleAdminPage"
2023-07-21 09:23:01 -05:00
2023-07-21 10:34:07 -05:00
// FlagAwsAsyncQueryCaching
// Enable caching for async queries for Redshift and Athena. Requires that the `useCachingService` feature toggle is enabled and the datasource has caching and async query support enabled
FlagAwsAsyncQueryCaching = "awsAsyncQueryCaching"
2023-07-21 09:23:01 -05:00
// FlagSplitScopes
// Support faster dashboard and folder search by splitting permission scopes into parts
FlagSplitScopes = "splitScopes"
2023-07-24 08:50:49 -05:00
// FlagAzureMonitorDataplane
// Adds dataplane compliant frame metadata in the Azure Monitor datasource
FlagAzureMonitorDataplane = "azureMonitorDataplane"
2023-07-26 11:09:53 -05:00
2023-11-01 05:14:24 -05:00
// FlagTraceToProfiles
// Enables linking between traces and profiles
FlagTraceToProfiles = "traceToProfiles"
2023-08-02 02:39:25 -05:00
// FlagPermissionsFilterRemoveSubquery
// Alternative permission filter implementation that does not use subqueries for fetching the dashboard folder
FlagPermissionsFilterRemoveSubquery = "permissionsFilterRemoveSubquery"
2023-07-26 11:09:53 -05:00
// FlagPrometheusConfigOverhaulAuth
// Update the Prometheus configuration page with the new auth component
FlagPrometheusConfigOverhaulAuth = "prometheusConfigOverhaulAuth"
2023-07-26 11:44:12 -05:00
// FlagConfigurableSchedulerTick
// Enable changing the scheduler base interval via configuration option unified_alerting.scheduler_tick_interval
FlagConfigurableSchedulerTick = "configurableSchedulerTick"
2023-08-02 11:27:43 -05:00
// FlagInfluxdbSqlSupport
// Enable InfluxDB SQL query language support with new querying UI
FlagInfluxdbSqlSupport = "influxdbSqlSupport"
2023-08-04 04:08:14 -05:00
2023-08-15 09:27:15 -05:00
// FlagAlertingNoDataErrorExecution
// Changes how Alerting state manager handles execution of NoData/Error
FlagAlertingNoDataErrorExecution = "alertingNoDataErrorExecution"
2023-08-29 09:05:47 -05:00
// FlagAngularDeprecationUI
// Display new Angular deprecation-related UI features
FlagAngularDeprecationUI = "angularDeprecationUI"
2023-08-30 15:22:05 -05:00
// FlagDashgpt
// Enable AI powered features in dashboards
FlagDashgpt = "dashgpt"
2023-08-31 02:47:47 -05:00
// FlagReportingRetries
// Enables rendering retries for the reporting feature
FlagReportingRetries = "reportingRetries"
2023-09-07 05:41:00 -05:00
// FlagNewBrowseDashboards
// New browse/manage dashboards UI
FlagNewBrowseDashboards = "newBrowseDashboards"
2023-09-07 15:02:07 -05:00
// FlagSseGroupByDatasource
// Send query to the same datasource in a single request when using server side expressions
FlagSseGroupByDatasource = "sseGroupByDatasource"
2023-09-11 05:13:13 -05:00
// FlagRequestInstrumentationStatusSource
// Include a status source label for request metrics and logs
FlagRequestInstrumentationStatusSource = "requestInstrumentationStatusSource"
2023-09-13 13:32:01 -05:00
2023-10-11 18:30:50 -05:00
// FlagLibraryPanelRBAC
// Enables RBAC support for library panels
FlagLibraryPanelRBAC = "libraryPanelRBAC"
2023-09-19 04:34:01 -05:00
// FlagLokiRunQueriesInParallel
// Enables running Loki queries in parallel
FlagLokiRunQueriesInParallel = "lokiRunQueriesInParallel"
2023-09-13 13:32:01 -05:00
// FlagWargamesTesting
// Placeholder feature flag for internal testing
FlagWargamesTesting = "wargamesTesting"
2023-09-14 07:58:04 -05:00
// FlagAlertingInsights
// Show the new alerting insights landing page
FlagAlertingInsights = "alertingInsights"
2023-09-21 06:36:32 -05:00
2023-10-25 08:57:53 -05:00
// FlagAlertingContactPointsV2
// Show the new contacpoints list view
FlagAlertingContactPointsV2 = "alertingContactPointsV2"
2023-09-22 03:50:13 -05:00
// FlagExternalCorePlugins
// Allow core plugins to be loaded as external
FlagExternalCorePlugins = "externalCorePlugins"
2023-09-21 06:36:32 -05:00
// FlagPluginsAPIMetrics
// Sends metrics of public grafana packages usage by plugins
FlagPluginsAPIMetrics = "pluginsAPIMetrics"
2023-09-22 03:52:28 -05:00
// FlagHttpSLOLevels
// Adds SLO level to http request metrics
FlagHttpSLOLevels = "httpSLOLevels"
2023-09-25 10:21:28 -05:00
// FlagIdForwarding
// Generate signed id token for identity that can be forwarded to plugins and external services
FlagIdForwarding = "idForwarding"
2023-09-27 09:41:48 -05:00
// FlagCloudWatchWildCardDimensionValues
// Fetches dimension values from CloudWatch to correctly label wildcard dimensions
FlagCloudWatchWildCardDimensionValues = "cloudWatchWildCardDimensionValues"
2023-09-28 02:26:37 -05:00
// FlagExternalServiceAccounts
// Automatic service account and token setup for plugins
FlagExternalServiceAccounts = "externalServiceAccounts"
2023-09-28 09:07:45 -05:00
2023-10-09 00:19:08 -05:00
// FlagPanelMonitoring
// Enables panel monitoring through logs and measurements
FlagPanelMonitoring = "panelMonitoring"
2023-10-03 13:23:55 -05:00
// FlagEnableNativeHTTPHistogram
// Enables native HTTP Histograms
FlagEnableNativeHTTPHistogram = "enableNativeHTTPHistogram"
2023-10-04 09:28:46 -05:00
2023-10-13 13:17:12 -05:00
// FlagFormatString
// Enable format string transformer
FlagFormatString = "formatString"
2023-10-04 09:28:46 -05:00
// FlagTransformationsVariableSupport
// Allows using variables in transformations
FlagTransformationsVariableSupport = "transformationsVariableSupport"
2023-10-05 14:00:36 -05:00
// FlagKubernetesPlaylists
// Use the kubernetes API in the frontend for playlists
FlagKubernetesPlaylists = "kubernetesPlaylists"
2023-10-10 05:50:44 -05:00
2023-10-31 12:26:39 -05:00
// FlagKubernetesPlaylistsAPI
// Route /api/playlist API to k8s handlers
FlagKubernetesPlaylistsAPI = "kubernetesPlaylistsAPI"
2023-10-20 14:09:41 -05:00
// FlagCloudWatchBatchQueries
// Runs CloudWatch metrics queries as separate batches
FlagCloudWatchBatchQueries = "cloudWatchBatchQueries"
2023-10-10 05:50:44 -05:00
// FlagNavAdminSubsections
// Splits the administration section of the nav tree into subsections
FlagNavAdminSubsections = "navAdminSubsections"
2023-10-10 09:51:50 -05:00
// FlagRecoveryThreshold
// Enables feature recovery threshold (aka hysteresis) for threshold server-side expression
FlagRecoveryThreshold = "recoveryThreshold"
2023-10-12 03:59:10 -05:00
2023-10-17 05:23:54 -05:00
// FlagTeamHttpHeaders
// Enables datasources to apply team headers to the client requests
FlagTeamHttpHeaders = "teamHttpHeaders"
2023-10-12 03:59:10 -05:00
// FlagAwsDatasourcesNewFormStyling
// Applies new form styling for configuration and query editors in AWS plugins
FlagAwsDatasourcesNewFormStyling = "awsDatasourcesNewFormStyling"
2023-10-12 11:56:49 -05:00
// FlagCachingOptimizeSerializationMemoryUsage
// If enabled, the caching backend gradually serializes query responses for the cache, comparing against the configured `[caching]max_value_mb` value as it goes. This can can help prevent Grafana from running out of memory while attempting to cache very large query responses.
FlagCachingOptimizeSerializationMemoryUsage = "cachingOptimizeSerializationMemoryUsage"
2023-10-13 07:04:24 -05:00
// FlagPanelTitleSearchInV1
// Enable searching for dashboards using panel title in search v1
FlagPanelTitleSearchInV1 = "panelTitleSearchInV1"
2023-10-17 03:27:45 -05:00
// FlagPluginsInstrumentationStatusSource
// Include a status source label for plugin request metrics and logs
FlagPluginsInstrumentationStatusSource = "pluginsInstrumentationStatusSource"
2023-10-17 11:15:51 -05:00
// FlagCostManagementUi
// Toggles the display of the cost management ui plugin
FlagCostManagementUi = "costManagementUi"
2023-10-18 08:17:03 -05:00
// FlagManagedPluginsInstall
// Install managed plugins directly from plugins catalog
FlagManagedPluginsInstall = "managedPluginsInstall"
Prometheus: PromQAIL frontend, drawer, feature toggle, workflow, etc. (#73020)
* initial commit for PromQAIL
* add feature toggle and start button
* add drawer
* set up drawer and state
* fix styles and start the conditional text display
* add data info list going to ai
* add logos and style
* metric display table style, neeed to make responsive
* make feature toggle frontend only
* add logic for want prompt for list or not, add helpers, addquerysuggestion type
* make query suggestion component
* add buttons to add or refine prompt
* refactor logic to add interactions to have multiple AI or historical interactions
* refactor and enable multiple questions, all flow
* add colorful AI icon to drawer open button
* fix linting
* refactor for hooking up promQail app and only giving one suggestion
* design fixes
* fix next prompt button styling
* historical suggestions give us 5, fixed that and some design things
* hook up the api, provide defense filler if it's down, refactor lots
* use query, fix linting
* add metadata to explain for ai suggestions
* styling fixes
* give metadata for historical suggestions by parsing query on the fly
* no prompt field to query-suggestion endpoint if prompt is empty
* fix linting
* use suggest rte for historical list, fix long code style
* use suggest rte for historical list, fix long code style
* fix historical bug
* added prompt file
* updated llm logic in explainer helper
* bump @grafana/experimental from 1.7.0 to 1.7.2
* use llmservice and vectorservice
* cleanup prompts + streaming explainer
* promqail feature toggle: fix re-order
* PromQL non-llm failback recommendation logic (#75469)
* added template recommendation logic directly in helpers
* also added selected labels to recommendation
* PromQail: query gen: fix prompt formatting and fetch metric labels to be used (#75450)
* PromQail: query gen: fix prompt formatting and fetch metric labels to be used
* Code fixes as suggested
* Use newly decided collection name for promql templates
* Prometheus: Promqail tests and bug fixes (#75852)
* add tests for drawer
* refine one prompt at a time, fix css
* scroll into view on interaction change
* fix styles for light
* disable prompt input after getting sugestions for that interaction
* make buttons disappear after selecting refine prompt or show historical queries to prevent user from clicking many times
* fix border radius
* fix new eslint rule about css requiring objects and not template literals
* add scrollIntoView for test
* grafana_prometheus_promqail_explanation_feedback - add feedback rudderstack interaction for explanation
* add form link to feedback for query suggestions
* fix bugs
* for prettier
* PromQL Builder Explainer: Added promql documentation and updated prompt (#75593)
* added promql documentation and updated prompt
* refactor prompt generation into isolated function
* updated prompt to answer with a question
* removed commented code
* updated metadata logic
* updated documentation body logic
* Prometheus: PromQAIL UI fixes (#76654)
* align buttons at 16px
* only autoscroll when an interaction has been added or the suggestions have been updated
* add 12px below explain for suggested queries
* add . after suggestion number
* fix linting error
* Prometheus: PromQAIL feedback improvements (#76711)
* align buttons at 16px
* only autoscroll when an interaction has been added or the suggestions have been updated
* add 12px below explain for suggested queries
* add . after suggestion number
* add text indication for explanation feedback
* add form for suggestion feedback, add form for not helpful explanation feedback
* fix linting error
* make radio button feedback required
* required text, padding additions, thank you for your feedback
* PromQL Builder Suggestion: Added type level templates and removed explainer steps for fallback suggestion logic (#75764)
* adding more detailed templates to promql fallback suggest
* remove debug logs
* added missing explain logic
* Fix brendan's type issue
---------
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
Co-authored-by: bohandley <brendan.ohandley@gmail.com>
* make yarn.lock equal to current in main
* fix feature toggles
* fix prettier issues
---------
Co-authored-by: Edward Qian <edward.qian@grafana.com>
Co-authored-by: Yasir Ekinci <yas.ekinci@grafana.com>
Co-authored-by: Edward Qian <edward.c.qian@gmail.com>
Co-authored-by: Gerry Boland <gerboland@users.noreply.github.com>
2023-10-19 10:45:32 -05:00
// FlagPrometheusPromQAIL
// Prometheus and AI/ML to assist users in creating a query
FlagPrometheusPromQAIL = "prometheusPromQAIL"
2023-10-30 11:27:08 -05:00
2023-11-03 09:39:58 -05:00
// FlagAddFieldFromCalculationStatFunctions
// Add cumulative and window functions to the add field from calculation transformation
FlagAddFieldFromCalculationStatFunctions = "addFieldFromCalculationStatFunctions"
2023-10-30 11:27:08 -05:00
// FlagAlertmanagerRemoteSecondary
// Enable Grafana to sync configuration and state with a remote Alertmanager.
FlagAlertmanagerRemoteSecondary = "alertmanagerRemoteSecondary"
// FlagAlertmanagerRemotePrimary
// Enable Grafana to have a remote Alertmanager instance as the primary Alertmanager.
FlagAlertmanagerRemotePrimary = "alertmanagerRemotePrimary"
// FlagAlertmanagerRemoteOnly
// Disable the internal Alertmanager and only use the external one defined.
FlagAlertmanagerRemoteOnly = "alertmanagerRemoteOnly"
2023-10-31 08:30:13 -05:00
// FlagAnnotationPermissionUpdate
// Separate annotation permissions from dashboard permissions to allow for more granular control.
FlagAnnotationPermissionUpdate = "annotationPermissionUpdate"
2023-11-02 10:47:42 -05:00
// FlagExtractFieldsNameDeduplication
// Make sure extracted field names are unique in the dataframe
FlagExtractFieldsNameDeduplication = "extractFieldsNameDeduplication"
2023-11-02 14:02:25 -05:00
// FlagDashboardSceneForViewers
// Enables dashboard rendering using Scenes for viewer roles
FlagDashboardSceneForViewers = "dashboardSceneForViewers"
2023-11-03 07:15:54 -05:00
// FlagPanelFilterVariable
// Enables use of the `systemPanelFilterVar` variable to filter panels in a dashboard
FlagPanelFilterVariable = "panelFilterVariable"
2022-01-26 11:44:20 -06:00
)