Skip to content

Commit 4dc3f9e

Browse files
authored
fix(azure-functions): Show correct installation snippet (#13754)
noticed that we showed the generic browser JS (CDN and NPM package) installation instructions instead of the `@sentry/node` SDK for Azure. This PR adds an `azure-functions` specific install snippet.
1 parent de97c17 commit 4dc3f9e

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<OnboardingOption optionId="profiling" hideForThisOption>
2+
3+
```bash {tabTitle:npm}
4+
npm install @sentry/node --save
5+
```
6+
7+
```bash {tabTitle:yarn}
8+
yarn add @sentry/node
9+
```
10+
11+
```bash {tabTitle:pnpm}
12+
pnpm add @sentry/node
13+
```
14+
15+
</OnboardingOption>
16+
17+
<OnboardingOption optionId="profiling">
18+
19+
```bash {tabTitle:npm}
20+
npm install @sentry/node @sentry/profiling-node --save
21+
```
22+
23+
```bash {tabTitle:yarn}
24+
yarn add @sentry/node @sentry/profiling-node
25+
```
26+
27+
```bash {tabTitle:pnpm}
28+
pnpm add @sentry/node @sentry/profiling-node
29+
```
30+
31+
</OnboardingOption>

0 commit comments

Comments
 (0)