Skip to content

Commit 6c58eee

Browse files
sfanahataShannon Anahata
andauthored
Updated Powershell options to fully have defaults (#15234)
## DESCRIBE YOUR PR Made sure all eligible options for defaults had them. ## 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:* - [ ] 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) Co-authored-by: Shannon Anahata <[email protected]>
1 parent ef6cd65 commit 6c58eee

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

docs/platforms/powershell/configuration/options.mdx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Turns debug mode on or off. If debug is enabled SDK will attempt to print out us
3636

3737
</SdkOption>
3838

39-
<SdkOption name="DiagnosticLevel" type="enum">
39+
<SdkOption name="DiagnosticLevel" type="enum" defaultValue="debug">
4040

4141
Enabling `debug` mode makes the SDK generate as much diagnostic data as possible. However, if you'd prefer to lower the verbosity of the Sentry SDK diagnostics logs, configure this option to set the appropriate level:
4242

@@ -88,7 +88,7 @@ The maximum number of [envelopes](https://develop.sentry.dev/sdk/data-model/enve
8888

8989
</SdkOption>
9090

91-
<SdkOption name="AttachStacktrace" type="bool">
91+
<SdkOption name="AttachStacktrace" type="bool" defaultValue="true">
9292

9393
When enabled, stack traces are automatically attached to all messages logged. Stack traces are always attached to exceptions; however, when this option is set, stack traces are also sent with messages. This option, for instance, means that stack traces appear next to all log messages.
9494

@@ -105,14 +105,11 @@ If this flag is enabled, certain personally identifiable information (PII) is ad
105105
If you are using Sentry in your mobile app, read our [frequently asked questions about mobile data privacy](/security-legal-pii/security/mobile-privacy/) to assist with Apple App Store and Google Play app privacy details.
106106

107107
</Alert>
108-
109-
This option is turned off by default.
110-
111108
If you enable this option, be sure to manually remove what you don't want to send using our features for managing [_Sensitive Data_](../../data-management/sensitive-data/).
112109

113110
</SdkOption>
114111

115-
<SdkOption name="SendClientReports" type="bool">
112+
<SdkOption name="SendClientReports" type="bool" defaultValue="true">
116113

117114
Set this boolean to `false` to disable sending of client reports. Client reports are a protocol feature that let clients send status reports about themselves to Sentry. They are currently mainly used to emit outcomes for events that were never sent.
118115

@@ -163,7 +160,7 @@ Controls how many seconds to wait before shutting down. Sentry SDKs send events
163160

164161
## Tracing Options
165162

166-
<SdkOption name="TracesSampleRate" type="float">
163+
<SdkOption name="TracesSampleRate" type="float" defaultValue="null">
167164

168165
A number between `0` and `1`, controlling the percentage chance a given transaction will be sent to Sentry. (`0` represents 0% while `1` represents 100%.) Applies equally to all transactions created in the app. Either this or <PlatformIdentifier name="TracesSampler" /> must be defined to enable tracing.
169166

0 commit comments

Comments
 (0)