mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
Applinks: Adds grafana-attributions-app to Cost Management nav (#87765)
* Applinks: add attributions under cost management -> metrics
This commit is contained in:
parent
47b42c9d42
commit
a17340ea8b
@ -223,6 +223,12 @@ func (root *NavTreeRoot) ApplyAdminIA() {
|
||||
costManagementMetricsNode.Children = append(costManagementMetricsNode.Children, adaptiveMetricsNode)
|
||||
}
|
||||
|
||||
attributionsNode := root.FindById("plugin-page-grafana-attributions-app")
|
||||
|
||||
if costManagementMetricsNode != nil && attributionsNode != nil {
|
||||
costManagementMetricsNode.Children = append(costManagementMetricsNode.Children, attributionsNode)
|
||||
}
|
||||
|
||||
costManagementLogsNode := root.FindByURL("/a/grafana-costmanagementui-app/logs")
|
||||
logVolumeExplorerNode := root.FindById("plugin-page-grafana-logvolumeexplorer-app")
|
||||
|
||||
|
@ -298,6 +298,7 @@ func (s *ServiceImpl) readNavigationSettings() {
|
||||
"grafana-cloud-link-app": {SectionID: navtree.NavIDCfg},
|
||||
"grafana-costmanagementui-app": {SectionID: navtree.NavIDCfg, Text: "Cost management"},
|
||||
"grafana-adaptive-metrics-app": {SectionID: navtree.NavIDCfg, Text: "Adaptive Metrics"},
|
||||
"grafana-attributions-app": {SectionID: navtree.NavIDCfg, Text: "Attributions"},
|
||||
"grafana-logvolumeexplorer-app": {SectionID: navtree.NavIDCfg, Text: "Log Volume Explorer"},
|
||||
"grafana-easystart-app": {SectionID: navtree.NavIDRoot, SortWeight: navtree.WeightApps + 1, Text: "Connections", Icon: "adjust-circle"},
|
||||
"k6-app": {SectionID: navtree.NavIDTestingAndSynthetics, SortWeight: 1, Text: "Performance"},
|
||||
|
Loading…
Reference in New Issue
Block a user