import { css } from '@emotion/css'; import { GrafanaTheme2 } from '@grafana/data'; import { SceneObjectBase, type SceneObjectState } from '@grafana/scenes'; import { Stack, Text, TextLink, useStyles2 } from '@grafana/ui'; import { Trans } from 'app/core/internationalization'; export class NoRelatedLogsScene extends SceneObjectBase { static readonly Component = () => { const styles = useStyles2(getStyles); return ( Related logs is an experimental feature. No related logs found. To see related logs, you can either:
  • adjust the label filter to find logs with the same labels as the currently-selected metric
  • select a metric created by a{' '} Loki Recording Rule
); }; } function getStyles(theme: GrafanaTheme2) { return { list: css({ paddingLeft: theme.spacing(2), }), }; }