Skip to content

Commit 9e4207a

Browse files
Mateusz Rzeszutekbreedx-splk
andauthored
Prepare for release 1.0.0-rc.2 (#393)
* Prepare for release 1.0.0-rc.2 * Apply suggestions from code review Co-authored-by: jason plumb <[email protected]> Co-authored-by: jason plumb <[email protected]>
1 parent aa3c5ef commit 9e4207a

File tree

4 files changed

+33
-20
lines changed

4 files changed

+33
-20
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

1010
* TBD
1111

12+
## Version 1.0.0-rc.2
13+
14+
Release candidate for 1.0.0.
15+
16+
* Updated to OpenTelemetry Java v1.19.0 (#383)
17+
* Fixed a bug where sometimes crash reports were not exported (#368)
18+
* Added runtime details (storage, memory, battery) to crash reports (#369)
19+
* Removed deprecated classes (#372)
20+
* Included activity name in slow and frozen render reports (#373)
21+
* Renamed the `SplunkRumBuilder#disableNetworkMonitorEnabled()` method to
22+
`SplunkRumBuilder#disableNetworkMonitor()` (#377)
23+
* Added experimental React Native support (React Native lib will be developed and released
24+
separately) (#381)
25+
1226
## Version 1.0.0-rc.1
1327

1428
Release candidate for 1.0.0.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</p>
1010

1111
<p align="center">
12-
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.18.0">
13-
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-1.18.0-blueviolet?style=for-the-badge">
12+
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.19.0">
13+
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-1.19.0-blueviolet?style=for-the-badge">
1414
</a>
1515
<a href="https://github.com/signalfx/splunk-otel-android/releases">
1616
<img alt="GitHub release (latest SemVer)" src="https://img.shields.io/github/v/release/signalfx/splunk-otel-android?include_prereleases&style=for-the-badge">
@@ -91,7 +91,7 @@ Then, add the latest release as a dependency in your application's build.gradle
9191
```
9292
dependencies {
9393
...
94-
implementation ("com.splunk:splunk-otel-android:1.0.0-rc.1")
94+
implementation ("com.splunk:splunk-otel-android:1.0.0-rc.2")
9595
...
9696
}
9797
```
@@ -127,7 +127,7 @@ Then, add the locally built library as a dependency in your application's build.
127127
```
128128
dependencies {
129129
...
130-
implementation ("com.splunk:splunk-otel-android:1.0.0-rc.2-SNAPSHOT")
130+
implementation ("com.splunk:splunk-otel-android:1.0.0-rc.3-SNAPSHOT")
131131
...
132132
}
133133
```

splunk-otel-android-volley/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ you will also need to add the `splunk-otel-android-volley` dependency to your `b
1616
```gradle
1717
dependencies {
1818
...
19-
implementation("com.splunk:splunk-otel-android-volley:1.0.0-rc.1")
19+
implementation("com.splunk:splunk-otel-android-volley:1.0.0-rc.2")
2020
...
2121
}
2222
```

splunk-otel-android/src/main/java/com/splunk/rum/SplunkRumBuilder.java

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public SplunkRumBuilder setBeaconEndpoint(String beaconEndpoint) {
8585
* Sets the realm for the beacon to send RUM telemetry to. This should be used in place of the
8686
* {@link #setBeaconEndpoint(String)} method in most cases.
8787
*
88-
* @param realm A valid Splunk "realm"
88+
* @param realm A valid Splunk "realm", e.g. "us0", "eu0".
8989
* @return {@code this}
9090
*/
9191
public SplunkRumBuilder setRealm(String realm) {
@@ -113,8 +113,7 @@ public SplunkRumBuilder setRumAccessToken(String rumAuthToken) {
113113
/**
114114
* Enables debugging information to be emitted from the RUM library.
115115
*
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.
118117
*
119118
* @return {@code this}
120119
*/
@@ -128,8 +127,7 @@ public SplunkRumBuilder enableDebug() {
128127
* buffered in the local storage until it is exported; otherwise, it is buffered in memory and
129128
* throttled.
130129
*
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.
133131
*
134132
* @return {@code this}
135133
*/
@@ -153,8 +151,7 @@ public SplunkRumBuilder enableReactNativeSupport() {
153151
/**
154152
* Disables the crash reporting feature.
155153
*
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.
158155
*
159156
* @return {@code this}
160157
*/
@@ -166,8 +163,7 @@ public SplunkRumBuilder disableCrashReporting() {
166163
/**
167164
* Disables the network monitoring feature.
168165
*
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.
171167
*
172168
* @return {@code this}
173169
*/
@@ -181,8 +177,7 @@ public SplunkRumBuilder disableNetworkMonitor() {
181177
* thread is unresponsive for 5 seconds or more, an event including the main thread's stack
182178
* trace will be reported to the RUM system.
183179
*
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.
186181
*
187182
* @return {@code this}
188183
*/
@@ -194,8 +189,7 @@ public SplunkRumBuilder disableAnrDetection() {
194189
/**
195190
* Disables the slow rendering detection feature.
196191
*
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.
199193
*
200194
* @return {@code this}
201195
*/
@@ -207,7 +201,7 @@ public SplunkRumBuilder disableSlowRenderingDetection() {
207201
/**
208202
* Configures the rate at which frame render durations are polled.
209203
*
210-
* @param interval The period that should be used for polling
204+
* @param interval The period that should be used for polling.
211205
* @return {@code this}
212206
*/
213207
public SplunkRumBuilder setSlowRenderingDetectionPollInterval(Duration interval) {
@@ -247,7 +241,7 @@ public SplunkRumBuilder setDeploymentEnvironment(String environment) {
247241
/**
248242
* Configures span data filtering.
249243
*
250-
* @param configurer A function that will configure the passed {@link SpanFilterBuilder}
244+
* @param configurer A function that will configure the passed {@link SpanFilterBuilder}.
251245
* @return {@code this}
252246
*/
253247
public SplunkRumBuilder filterSpans(Consumer<SpanFilterBuilder> configurer) {
@@ -260,6 +254,10 @@ public SplunkRumBuilder filterSpans(Consumer<SpanFilterBuilder> configurer) {
260254
* storage. When this value is exceeded, older telemetry will be deleted until the usage is
261255
* reduced.
262256
*
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.
263261
* @return {@code this}
264262
*/
265263
public SplunkRumBuilder limitDiskUsageMegabytes(int maxUsageMegabytes) {
@@ -274,6 +272,7 @@ public SplunkRumBuilder limitDiskUsageMegabytes(int maxUsageMegabytes) {
274272
* <p>This feature is disabled by default - i.e. by default, all sessions are sampled, which is
275273
* equivalent to {@code ratio = 1.0}.
276274
*
275+
* @param ratio The desired ratio of sampling. Must be within [0.0, 1.0].
277276
* @return {@code this}
278277
*/
279278
public SplunkRumBuilder enableSessionBasedSampling(double ratio) {

0 commit comments

Comments
 (0)