Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions docs/platforms/react-native/metrics/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: Set Up Metrics
sidebar_title: Metrics
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."
sidebar_order: 5760
beta: true
---

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.

<Alert>This feature is currently in open beta.</Alert>

## Requirements

<PlatformContent includePath="metrics/requirements" />

## Usage

<PlatformContent includePath="metrics/usage" platform="javascript" />

## Options

<PlatformContent includePath="metrics/options" platform="javascript" />

## Default Attributes

<PlatformContent
includePath="metrics/default-attributes"
platform="javascript"
/>
1 change: 1 addition & 0 deletions platform-includes/metrics/requirements/react-native.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<VersionRequirement product="Metrics for React Native" sdk="Sentry React Native SDK" minVersion="7.8.0" />
4 changes: 0 additions & 4 deletions src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1770,10 +1770,6 @@ const USER_DOCS_REDIRECTS: Redirect[] = [
from: '/platforms/ruby/metrics/',
to: '/concepts/key-terms/tracing/span-metrics/',
},
{
from: '/platforms/react-native/metrics/',
to: '/concepts/key-terms/tracing/span-metrics/',
},
{
from: '/platforms/java/metrics/',
to: '/concepts/key-terms/tracing/span-metrics/',
Expand Down
Loading