Skip to content

Commit aad0123

Browse files
authored
chore(metrics): Clean up metrics CLI docs (#14654)
Metrics have been deprecated since October 7th 2024, so this is no longer valid, and we should remove instructions on how to send metrics, because this doesn't even work. This PR getsentry/sentry-cli#2710 will clean up metrics commands in CLI, but this can be cleaned up separately.
1 parent ffa797a commit aad0123

File tree

2 files changed

+4
-70
lines changed

2 files changed

+4
-70
lines changed

docs/cli/metrics.mdx

Lines changed: 0 additions & 70 deletions
This file was deleted.

src/middleware.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,6 +1680,10 @@ const USER_DOCS_REDIRECTS: Redirect[] = [
16801680
from: '/learn/cli/releases/',
16811681
to: '/cli/releases/',
16821682
},
1683+
{
1684+
from: '/cli/metrics/',
1685+
to: '/cli/send-event/',
1686+
},
16831687
{
16841688
from: '/workflow/alerts-notifications/',
16851689
to: '/product/alerts/',

0 commit comments

Comments
 (0)