Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Doc: remove resourceSampleRate #747

Merged
merged 1 commit into from
Feb 25, 2021
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
2 changes: 1 addition & 1 deletion packages/core/src/domain/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface UserConfiguration {
internalMonitoringApiKey?: string
allowedTracingOrigins?: Array<string | RegExp>
sampleRate?: number
resourceSampleRate?: number
resourceSampleRate?: number // deprecated
webNeat marked this conversation as resolved.
Show resolved Hide resolved
datacenter?: Datacenter // deprecated
site?: string
enableExperimentalFeatures?: string[]
Expand Down
3 changes: 0 additions & 3 deletions packages/rum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ window.DD_RUM.init({
applicationId: 'XXX',
clientToken: 'XXX',
site: 'datadoghq.com',
resourceSampleRate: 100,
sampleRate: 100,
})
```
Expand All @@ -136,7 +135,6 @@ The following parameters are available:
| `env` | String | No | | The application’s environment, for example: prod, pre-prod, staging, etc. |
| `version` | String | No | | The application’s version, for example: 1.2.3, 6c44da20, 2020.02.13, etc. |
| `trackInteractions` | Boolean | No | `false` | Enables [automatic collection of users actions][6]. |
| `resourceSampleRate` | Number | No | `100` | The percentage of tracked sessions with resources collection: `100` for all, `0` for none. |
| `sampleRate` | Number | No | `100` | The percentage of sessions to track: `100` for all, `0` for none. Only tracked sessions send rum events. |
| `silentMultipleInit` | Boolean | No | `false` | Initialization fails silently if Datadog's RUM is already initialized on the page. |
| `proxyHost` | String | No | | Optional proxy host (ex: www.proxy.com), see the full [proxy setup guide][7] for more information. |
Expand All @@ -159,7 +157,6 @@ init(configuration: {
applicationId: string,
clientToken: string,
site?: string,
resourceSampleRate?: number
sampleRate?: number,
silentMultipleInit?: boolean,
trackInteractions?: boolean,
Expand Down