Skip to content

Commit 2775c79

Browse files
authored
feat(ourlogs): Link to the new documentation page (#91549)
1 parent 26a2a78 commit 2775c79

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

static/app/views/explore/logs/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import {logsPickableDays} from 'sentry/views/explore/logs/utils';
1616
import {TraceItemDataset} from 'sentry/views/explore/types';
1717
import {usePrefersStackedNav} from 'sentry/views/nav/usePrefersStackedNav';
1818

19+
import {LOGS_INSTRUCTIONS_URL} from './logsTable';
20+
1921
function FeedbackButton() {
2022
const openForm = useFeedbackForm();
2123

@@ -84,7 +86,7 @@ export default function LogsPage() {
8486
<LinkButton
8587
icon={<IconOpen />}
8688
priority="primary"
87-
href="https://docs.sentry.io/product/explore/logs/getting-started/"
89+
href={LOGS_INSTRUCTIONS_URL}
8890
external
8991
size="xs"
9092
>

static/app/views/explore/logs/logsTable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ import {EmptyStateText} from 'sentry/views/traces/styles';
3838

3939
import {getLogBodySearchTerms, getTableHeaderLabel, logsFieldAlignment} from './utils';
4040

41-
const LOGS_INSTRUCTIONS_URL = 'https://github.com/getsentry/sentry/discussions/86804';
41+
export const LOGS_INSTRUCTIONS_URL =
42+
'https://docs.sentry.io/product/explore/logs/getting-started/';
4243

4344
type LogsTableProps = {
4445
tableData: UseExploreLogsTableResult;

0 commit comments

Comments
 (0)