Skip to content

Commit ec4ee7d

Browse files
alwxphilipphofmann
authored andcommitted
Docs for RN metrics (#15646)
<!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## DESCRIBE YOUR PR This PR introduces the "Metrics" docs section for React Native docs. Comes in combination with this PR that introduces Metrics to RN: getsentry/sentry-react-native#5402 ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [x] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) ## LEGAL BOILERPLATE <!-- Sentry employees and contractors can delete or ignore this section. --> Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms. ## EXTRA RESOURCES - [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
1 parent 95b7721 commit ec4ee7d

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: Set Up Metrics
3+
sidebar_title: Metrics
4+
description: "Metrics allow you to send, view and query counters, gauges and measurements from your Sentry-configured apps to track application health and drill down into related traces, logs, and errors."
5+
sidebar_order: 5760
6+
beta: true
7+
---
8+
9+
With Sentry Metrics, you can send counters, gauges, distributions, and sets from your applications to Sentry. Once in Sentry, these metrics can be viewed alongside relevant errors, and searched using their individual attributes.
10+
11+
<Alert>This feature is currently in open beta.</Alert>
12+
13+
## Requirements
14+
15+
<PlatformContent includePath="metrics/requirements" />
16+
17+
## Usage
18+
19+
<PlatformContent includePath="metrics/usage" platform="javascript" />
20+
21+
## Options
22+
23+
<PlatformContent includePath="metrics/options" platform="javascript" />
24+
25+
## Default Attributes
26+
27+
<PlatformContent
28+
includePath="metrics/default-attributes"
29+
platform="javascript"
30+
/>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<VersionRequirement product="Metrics for React Native" sdk="Sentry React Native SDK" minVersion="7.8.0" />

src/middleware.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,10 +1770,6 @@ const USER_DOCS_REDIRECTS: Redirect[] = [
17701770
from: '/platforms/ruby/metrics/',
17711771
to: '/concepts/key-terms/tracing/span-metrics/',
17721772
},
1773-
{
1774-
from: '/platforms/react-native/metrics/',
1775-
to: '/concepts/key-terms/tracing/span-metrics/',
1776-
},
17771773
{
17781774
from: '/platforms/java/metrics/',
17791775
to: '/concepts/key-terms/tracing/span-metrics/',

0 commit comments

Comments
 (0)