@@ -85,7 +85,7 @@ public SplunkRumBuilder setBeaconEndpoint(String beaconEndpoint) {
85
85
* Sets the realm for the beacon to send RUM telemetry to. This should be used in place of the
86
86
* {@link #setBeaconEndpoint(String)} method in most cases.
87
87
*
88
- * @param realm A valid Splunk "realm"
88
+ * @param realm A valid Splunk "realm", e.g. "us0", "eu0".
89
89
* @return {@code this}
90
90
*/
91
91
public SplunkRumBuilder setRealm (String realm ) {
@@ -113,8 +113,7 @@ public SplunkRumBuilder setRumAccessToken(String rumAuthToken) {
113
113
/**
114
114
* Enables debugging information to be emitted from the RUM library.
115
115
*
116
- * <p>This feature is disabled by default. You can enable it by calling this configuration
117
- * method with a {@code true} value.
116
+ * <p>This feature is disabled by default. You can enable it by calling this method.
118
117
*
119
118
* @return {@code this}
120
119
*/
@@ -128,8 +127,7 @@ public SplunkRumBuilder enableDebug() {
128
127
* buffered in the local storage until it is exported; otherwise, it is buffered in memory and
129
128
* throttled.
130
129
*
131
- * <p>This feature is disabled by default. You can enable it by calling this configuration
132
- * method with a {@code true} value.
130
+ * <p>This feature is disabled by default. You can enable it by calling this method.
133
131
*
134
132
* @return {@code this}
135
133
*/
@@ -153,8 +151,7 @@ public SplunkRumBuilder enableReactNativeSupport() {
153
151
/**
154
152
* Disables the crash reporting feature.
155
153
*
156
- * <p>This feature is enabled by default. You can disable it by calling this configuration
157
- * method with a {@code true} value.
154
+ * <p>This feature is enabled by default. You can disable it by calling this method.
158
155
*
159
156
* @return {@code this}
160
157
*/
@@ -166,8 +163,7 @@ public SplunkRumBuilder disableCrashReporting() {
166
163
/**
167
164
* Disables the network monitoring feature.
168
165
*
169
- * <p>This feature is enabled by default. You can disable it by calling this configuration
170
- * method with a {@code true} value.
166
+ * <p>This feature is enabled by default. You can disable it by calling this method.
171
167
*
172
168
* @return {@code this}
173
169
*/
@@ -181,8 +177,7 @@ public SplunkRumBuilder disableNetworkMonitor() {
181
177
* thread is unresponsive for 5 seconds or more, an event including the main thread's stack
182
178
* trace will be reported to the RUM system.
183
179
*
184
- * <p>This feature is enabled by default. You can disable it by calling this configuration
185
- * method with a {@code true} value.
180
+ * <p>This feature is enabled by default. You can disable it by calling this method.
186
181
*
187
182
* @return {@code this}
188
183
*/
@@ -194,8 +189,7 @@ public SplunkRumBuilder disableAnrDetection() {
194
189
/**
195
190
* Disables the slow rendering detection feature.
196
191
*
197
- * <p>This feature is enabled by default. You can disable it by calling this configuration
198
- * method with a {@code true} value.
192
+ * <p>This feature is enabled by default. You can disable it by calling this method.
199
193
*
200
194
* @return {@code this}
201
195
*/
@@ -207,7 +201,7 @@ public SplunkRumBuilder disableSlowRenderingDetection() {
207
201
/**
208
202
* Configures the rate at which frame render durations are polled.
209
203
*
210
- * @param interval The period that should be used for polling
204
+ * @param interval The period that should be used for polling.
211
205
* @return {@code this}
212
206
*/
213
207
public SplunkRumBuilder setSlowRenderingDetectionPollInterval (Duration interval ) {
@@ -247,7 +241,7 @@ public SplunkRumBuilder setDeploymentEnvironment(String environment) {
247
241
/**
248
242
* Configures span data filtering.
249
243
*
250
- * @param configurer A function that will configure the passed {@link SpanFilterBuilder}
244
+ * @param configurer A function that will configure the passed {@link SpanFilterBuilder}.
251
245
* @return {@code this}
252
246
*/
253
247
public SplunkRumBuilder filterSpans (Consumer <SpanFilterBuilder > configurer ) {
@@ -260,6 +254,10 @@ public SplunkRumBuilder filterSpans(Consumer<SpanFilterBuilder> configurer) {
260
254
* storage. When this value is exceeded, older telemetry will be deleted until the usage is
261
255
* reduced.
262
256
*
257
+ * <p>This setting only applies when {@linkplain #enableDiskBuffering() disk buffering is
258
+ * enabled}.
259
+ *
260
+ * @param maxUsageMegabytes The maximum disk buffer size, in megabytes.
263
261
* @return {@code this}
264
262
*/
265
263
public SplunkRumBuilder limitDiskUsageMegabytes (int maxUsageMegabytes ) {
@@ -274,6 +272,7 @@ public SplunkRumBuilder limitDiskUsageMegabytes(int maxUsageMegabytes) {
274
272
* <p>This feature is disabled by default - i.e. by default, all sessions are sampled, which is
275
273
* equivalent to {@code ratio = 1.0}.
276
274
*
275
+ * @param ratio The desired ratio of sampling. Must be within [0.0, 1.0].
277
276
* @return {@code this}
278
277
*/
279
278
public SplunkRumBuilder enableSessionBasedSampling (double ratio ) {
0 commit comments