grafana/public/app/features/trails/ActionTabs/RelatedMetricsScene.tsx
Andre Pereira d27e2fec88
Data Trails: Actions redesign and overview tab (#80216)
* Use last used datasource or default datasource when starting a trail

* Use tabs and move actions bar to same line when possible

* Added overview tab with description, type and labels

* Clickable labels in overview tab

* Show label value counts next to the label name

* Fix action bar zIndex

* Address PR comments

* Refactor

* Refactor getLabelOptions to utils

* Reuse language provider from state

* betterer

* testing some refactors

* Remove unreachable code

* Refactor GROUP_BY var to MetricScene

* Fix url by excluding var-groupby

* Fix conflicts

* Use <Text/> instead of custom styles

* Simplify setting overview as default tab

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-01-16 20:22:53 +02:00

10 lines
228 B
TypeScript

import { SceneFlexItem } from '@grafana/scenes';
import { MetricSelectScene } from '../MetricSelectScene';
export function buildRelatedMetricsScene() {
return new SceneFlexItem({
body: new MetricSelectScene({}),
});
}