You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/php/guides/laravel/index.mdx
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,12 @@ sidebar_order: 0
5
5
description: "Laravel is a PHP web application framework with expressive, elegant syntax. Learn how to set it up with Sentry."
6
6
---
7
7
8
-
Laravel is supported using a native package: [sentry-laravel](https://github.com/getsentry/sentry-laravel).
8
+
## Prerequisites
9
9
10
-
This guide is for Laravel 11.x. We also provide instructions for [other versions](/platforms/php/guides/laravel/other-versions/) as well as [Lumen-specific instructions](/platforms/php/guides/laravel/other-versions/lumen/).
10
+
* You need a [Sentry account](https://sentry.io/signup/) and project
11
+
* Your Laravel application needs to run on PHP 7.2 or later
12
+
* Your Laravel version needs to be 11.x or higher
13
+
* Read one of these guides if you use an [older version](/platforms/php/guides/laravel/other-versions/) or need [Lumen-specific instructions](/platforms/php/guides/laravel/other-versions/lumen/)
Copy file name to clipboardExpand all lines: docs/platforms/php/guides/symfony/index.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,10 @@ sdk: sentry.php.symfony
4
4
description: "Symfony is a set of reusable PHP components and a PHP framework to build web applications and services. Learn how to set it up with Sentry."
5
5
---
6
6
7
-
Symfony is supported via the [`sentry-symfony`](https://github.com/getsentry/sentry-symfony) package as a native bundle.
7
+
## Prerequisites
8
+
9
+
* You need a [Sentry account](https://sentry.io/signup/) and project
10
+
* Your Symfony application needs to run on PHP 7.2 or later
Copy file name to clipboardExpand all lines: docs/platforms/php/index.mdx
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,22 +3,18 @@ title: PHP
3
3
sdk: sentry.php
4
4
caseStyle: snake_case
5
5
supportLevel: production
6
-
description: PHP (or Hypertext Preprocessor) is an open source, general-purpose scripting language that's well-suited for web development. It can be embedded into HTML.
6
+
description: Learn how to set up Sentry in your PHP application.
7
7
---
8
8
9
-
On this page, we get you up and running with Sentry's PHP SDK, automatically reporting errors and exceptions in your application. The SDK provides support for PHP 7.2 or later. If you're using a previous version of the PHP SDK, you can access the <Linkrel="nofollow"to="/platforms/php/legacy-sdk/">legacy SDK documentation</Link>.
9
+
## Prerequisites
10
10
11
-
<Note>
11
+
* You need a [Sentry account](https://sentry.io/signup/) and project
12
+
* Your application needs to run on PHP 7.2 or later
13
+
* Read one of these other guides if you use <PlatformLinkto="/guides/laravel">Laravel</PlatformLink> or <PlatformLinkto="/guides/symfony">Symfony</PlatformLink>
12
14
13
-
If you don't already have an account and Sentry project established, head over to [sentry.io](https://sentry.io/signup/), then return to this page.
15
+
## Features
14
16
15
-
</Note>
16
-
17
-
<GuideGridplatform="php" />
18
-
19
-
Sentry captures data by using an SDK within your application’s runtime. Our SDKs are platform-specific and allow Sentry to have a deep understanding of how your application works.
20
-
21
-
## Install
17
+
<pclassName="mb-5">Select which Sentry features you'd like to install in addition to Error Monitoring to get the corresponding installation and configuration instructions below.</p>
22
18
23
19
<OnboardingOptionButtons
24
20
options={[
@@ -28,15 +24,17 @@ Sentry captures data by using an SDK within your application’s runtime. Our SD
28
24
]}
29
25
/>
30
26
31
-
Install the SDK using [Composer](https://getcomposer.org/).
27
+
## Install
28
+
29
+
Install the Sentry SDK using [Composer](https://getcomposer.org/):
32
30
33
31
```bash
34
32
composer require sentry/sentry
35
33
```
36
34
37
35
<OnboardingOptionoptionId="profiling">
38
36
39
-
Install the Excimer extension via PECL:
37
+
To use Profiling, you'll also need to install the Excimer extension via PECL:
Copy file name to clipboardExpand all lines: docs/platforms/python/index.mdx
+38-11Lines changed: 38 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,33 +7,60 @@ sdk: sentry.python
7
7
showIntegrationsInSearch: true
8
8
---
9
9
10
-
On this page, we get you up and running with Sentry's SDK.
10
+
## Prerequisites
11
11
12
-
<Alertlevel="info"title="Using a framework?">
12
+
* You need a [Sentry account](https://sentry.io/signup/) and project
13
+
* Read one of our dedicated guides if you use any of the <PlatformLinkto="/integrations/#web-frameworks">frameworks</PlatformLink> we support
13
14
14
-
See our <PlatformLinkto="/integrations/">Integrations</PlatformLink> page or choose from the left-hand dropdown to get started.
15
+
## Features
15
16
16
-
</Alert>
17
+
<pclassName="mb-5">Select which Sentry features you'd like to install in addition to Error Monitoring to get the corresponding installation and configuration instructions below.</p>
17
18
18
-
Don't already have an account and Sentry project established? Head over to [sentry.io](https://sentry.io/signup/), then return to this page.
19
-
20
-
If you prefer to follow video instructions, see [How to Install the Sentry Python SDK in 60 Seconds](https://vimeo.com/899368672).
19
+
<OnboardingOptionButtons
20
+
options={[
21
+
'error-monitoring',
22
+
'performance',
23
+
'profiling',
24
+
]}
25
+
/>
21
26
22
27
## Install
23
28
24
-
Sentry captures data by using an SDK within your application’s runtime.
29
+
Install the Sentry SDK using [`pip`](https://pip.pypa.io/en/stable/):
Copy file name to clipboardExpand all lines: docs/platforms/python/tracing/index.mdx
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,30 @@
1
1
---
2
2
title: Set Up Tracing
3
-
description: "Learn how to enable tracing in your Python SDK and get valuable performance insights about your application."
3
+
description: "With Tracing, Sentry tracks your software performance, measuring metrics like throughput and latency, and displays the impact of errors across multiple systems."
4
4
sidebar_order: 4000
5
5
---
6
6
7
-
With [tracing](/product/performance/), Sentry tracks your software performance, measuring metrics like throughput and latency, and displaying the impact of errors across multiple systems. Sentry captures distributed traces consisting of transactions and spans, which measure individual services and individual operations within those services. Learn more about our model in [Distributed Tracing](/product/sentry-basics/tracing/distributed-tracing/).
7
+
## Prerequisites
8
8
9
-
<Note>
9
+
* You have the <PlatformLinkto="/">Python SDK installed</PlatformLink> (version 0.11.2 or higher)
10
10
11
-
If you’re adopting Tracing in a high-throughput environment, we recommend testing prior to deployment to ensure that your service’s performance characteristics maintain expectations.
11
+
## Configure
12
12
13
-
</Note>
13
+
To enable tracing in your application, adjust the `traces_sample_rate` based on the number of trace samples you want to send to Sentry by adding the highlighted code snippet below. (Setting a value of `1.0` will send 100% of your traces.)
+# We recommend adjusting this value in production
23
+
+traces_sample_rate=1.0,
24
+
)
25
+
```
26
+
27
+
If you’re adopting Tracing in a high-throughput environment, we recommend testing prior to deployment to ensure that your service’s performance characteristics maintain expectations.
20
28
21
29
Learn more about tracing <PlatformLinkto="/configuration/options/#tracing-options">options</PlatformLink>, how to use the <PlatformLinkto="/configuration/sampling/#setting-a-sampling-function">traces_sampler</PlatformLink> function, or how to <PlatformLinkto="/configuration/sampling/#sampling-transaction-events">sample transactions</PlatformLink>.
0 commit comments