Feat: Add cloud plugin cost management to admin section (#76547)

* feat: add cost management to admin and put adaptive metrics and log volume under it

* test: fix applinks test

* chore: fix lint error

* remove "new" from feature toggle description

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
Adam Bannach
2023-10-17 17:15:51 +01:00
committed by GitHub
co-authored by Ashley Harrison
parent 0f7233bdf6
commit de1ed216f4
10 changed files with 75 additions and 3 deletions
@@ -360,7 +360,8 @@ func TestAddAppLinks(t *testing.T) {
func TestReadingNavigationSettings(t *testing.T) {
t.Run("Should include defaults", func(t *testing.T) {
service := ServiceImpl{
cfg: setting.NewCfg(),
cfg: setting.NewCfg(),
features: featuremgmt.WithFeatures(),
}
_, _ = service.cfg.Raw.NewSection("navigation.app_sections")
@@ -371,7 +372,8 @@ func TestReadingNavigationSettings(t *testing.T) {
t.Run("Can add additional overrides via ini system", func(t *testing.T) {
service := ServiceImpl{
cfg: setting.NewCfg(),
cfg: setting.NewCfg(),
features: featuremgmt.WithFeatures(),
}
appSections, _ := service.cfg.Raw.NewSection("navigation.app_sections")