diff --git a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md index 54453fa6e67..2ebac404107 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -214,6 +214,7 @@ Experimental features might be changed or removed without prior notice. | `localeFormatPreference` | Specifies the locale so the correct format for numbers and dates can be shown | | `extensionSidebar` | Enables the extension sidebar | | `localizationForPlugins` | Enables localization for plugins | +| `metricsFromProfiles` | Enables creating metrics from profiles and storing them as recording rules | ## Development feature toggles diff --git a/packages/grafana-data/src/types/featureToggles.gen.ts b/packages/grafana-data/src/types/featureToggles.gen.ts index 93d2201e076..4025e3944bf 100644 --- a/packages/grafana-data/src/types/featureToggles.gen.ts +++ b/packages/grafana-data/src/types/featureToggles.gen.ts @@ -1036,4 +1036,8 @@ export interface FeatureToggles { * @default false */ logsPanelControls?: boolean; + /** + * Enables creating metrics from profiles and storing them as recording rules + */ + metricsFromProfiles?: boolean; } diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 2471e77f5bd..5e629d59044 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -1783,6 +1783,13 @@ var ( Owner: grafanaObservabilityLogsSquad, Expression: "false", }, + { + Name: "metricsFromProfiles", + Description: "Enables creating metrics from profiles and storing them as recording rules", + Stage: FeatureStageExperimental, + Owner: grafanaObservabilityTracesAndProfilingSquad, + FrontendOnly: true, + }, } ) diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index e53cf9603c5..fe37e8f3aea 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -233,3 +233,4 @@ xrayApplicationSignals,experimental,@grafana/aws-datasources,false,false,true multiTenantTempCredentials,experimental,@grafana/aws-datasources,false,false,false localizationForPlugins,experimental,@grafana/plugins-platform-backend,false,false,false logsPanelControls,privatePreview,@grafana/observability-logs,false,false,true +metricsFromProfiles,experimental,@grafana/observability-traces-and-profiling,false,false,true diff --git a/pkg/services/featuremgmt/toggles_gen.go b/pkg/services/featuremgmt/toggles_gen.go index 512306a266c..cd5b75a9d01 100644 --- a/pkg/services/featuremgmt/toggles_gen.go +++ b/pkg/services/featuremgmt/toggles_gen.go @@ -942,4 +942,8 @@ const ( // FlagLogsPanelControls // Enables a control component for the logs panel in Explore FlagLogsPanelControls = "logsPanelControls" + + // FlagMetricsFromProfiles + // Enables creating metrics from profiles and storing them as recording rules + FlagMetricsFromProfiles = "metricsFromProfiles" ) diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index 4cb98fea89d..69790dee522 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -2033,6 +2033,22 @@ "hideFromDocs": true } }, + { + "metadata": { + "name": "metricsFromProfiles", + "resourceVersion": "1743767250962", + "creationTimestamp": "2025-04-04T11:45:44Z", + "annotations": { + "grafana.app/updatedTimestamp": "2025-04-04 11:47:30.962546 +0000 UTC" + } + }, + "spec": { + "description": "Enables creating metrics from profiles and storing them as recording rules", + "stage": "experimental", + "codeowner": "@grafana/observability-traces-and-profiling", + "frontend": true + } + }, { "metadata": { "name": "mlExpressions",