Dashboards: Remove dummy trim dashboard api (#77249)
Co-authored-by: nikimanoledaki <niki.manoledaki@grafana.com>
This commit is contained in:
co-authored by
nikimanoledaki
parent
e714c9303e
commit
45d59cf31b
@@ -9,12 +9,6 @@ package featuremgmt
|
||||
var (
|
||||
// Register each toggle here
|
||||
standardFeatureFlags = []FeatureFlag{
|
||||
{
|
||||
Name: "trimDefaults",
|
||||
Description: "Use cue schema to remove values that will be applied automatically",
|
||||
Stage: FeatureStagePublicPreview,
|
||||
Owner: grafanaAsCodeSquad,
|
||||
},
|
||||
{
|
||||
Name: "disableEnvelopeEncryption",
|
||||
Description: "Disable envelope encryption (emergency only)",
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
Name,Stage,Owner,requiresDevMode,RequiresLicense,RequiresRestart,FrontendOnly
|
||||
trimDefaults,preview,@grafana/grafana-as-code,false,false,false,false
|
||||
disableEnvelopeEncryption,GA,@grafana/grafana-as-code,false,false,false,false
|
||||
live-service-web-worker,experimental,@grafana/grafana-app-platform-squad,false,false,false,true
|
||||
queryOverLive,experimental,@grafana/grafana-app-platform-squad,false,false,false,true
|
||||
|
||||
|
@@ -7,10 +7,6 @@
|
||||
package featuremgmt
|
||||
|
||||
const (
|
||||
// FlagTrimDefaults
|
||||
// Use cue schema to remove values that will be applied automatically
|
||||
FlagTrimDefaults = "trimDefaults"
|
||||
|
||||
// FlagDisableEnvelopeEncryption
|
||||
// Disable envelope encryption (emergency only)
|
||||
FlagDisableEnvelopeEncryption = "disableEnvelopeEncryption"
|
||||
|
||||
@@ -9,7 +9,6 @@ import (
|
||||
|
||||
func TestFeatureUsageStats(t *testing.T) {
|
||||
featureManagerWithAllFeatures := WithFeatures(
|
||||
"trimDefaults",
|
||||
"database_metrics",
|
||||
"live-config",
|
||||
"UPPER_SNAKE_CASE",
|
||||
@@ -17,7 +16,6 @@ func TestFeatureUsageStats(t *testing.T) {
|
||||
)
|
||||
|
||||
require.Equal(t, map[string]any{
|
||||
"stats.features.trim_defaults.count": 1,
|
||||
"stats.features.database_metrics.count": 1,
|
||||
"stats.features.live_config.count": 1,
|
||||
"stats.features.upper_snake_case.count": 1,
|
||||
|
||||
Reference in New Issue
Block a user