Skip to content

Commit a0d7f9a

Browse files
committed
fixes
1 parent 1e4a999 commit a0d7f9a

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

docs/platforms/powershell/configuration/sampling.mdx

-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ When using custom instrumentation to create a transaction, you can add data to t
7272

7373
Whatever a transaction's sampling decision, that decision will be passed to its child spans and from there to any transactions they subsequently cause in other services.
7474

75-
(See <PlatformLink to="/usage/distributed-tracing/">Distributed Tracing</PlatformLink> for more about how that propagation is done.)
76-
7775
If the transaction currently being created is one of those subsequent transactions (in other words, if it has a parent transaction), the upstream (parent) sampling decision will be included in the sampling context data. Your <PlatformIdentifier name="traces-sampler" /> can use this information to choose whether to inherit that decision. In most cases, inheritance is the right choice, to avoid breaking distributed traces. A broken trace will not include all your services.
7876

7977
<PlatformContent includePath="performance/always-inherit-sampling-decision" />

docs/platforms/powershell/troubleshooting.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ Make sure the process the SDK is running in has write access to it.
1414

1515
## Unhandled exceptions are not captured
1616

17-
Currently, the SDK only captures exceptions that are explicitly handled either by piping the `ErrorRecord` (`$_ | Out-Sentry` inside a catch statement), or by using `Invoke-WithSentry { ... }`
18-
19-
<PlatformContent includePath="troubleshooting" />
17+
Currently, the SDK captures exceptions that are explicitly handled by ane of the following methods:
18+
- piping the `ErrorRecord` inside a `catch` statement or in a `trap` using `$_ | Out-Sentry`
19+
- using `Invoke-WithSentry { ... }`
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
For .NET-based SDKs, it includes a [Transaction Context](https://github.com/getsentry/sentry-dotnet/blob/main/src/Sentry/Protocol/TransactionContext.cs) and a custom sampling context (`string` to `object` dictionary).
1+
For .NET-based SDKs, it includes a [Transaction Context](https://github.com/getsentry/sentry-dotnet/blob/main/src/Sentry/TransactionContext.cs) and a custom sampling context (`string` to `object` dictionary).
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
For .NET-based SDKs, it includes a [Transaction Context](https://github.com/getsentry/sentry-dotnet/blob/main/src/Sentry/Protocol/TransactionContext.cs) and a custom sampling context (`string` to `object` dictionary).
1+
For .NET-based SDKs, it includes a [Transaction Context](https://github.com/getsentry/sentry-dotnet/blob/main/src/Sentry/TransactionContext.cs) and a custom sampling context (`string` to `object` dictionary).

0 commit comments

Comments
 (0)