Skip to content

Commit

Permalink
Prepare for release 1.0.0-rc.2 (#393)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
Mateusz Rzeszutek and breedx-splk authored Oct 21, 2022
1 parent aa3c5ef commit 9e4207a
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 20 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

* TBD

## Version 1.0.0-rc.2

Release candidate for 1.0.0.

* Updated to OpenTelemetry Java v1.19.0 (#383)
* Fixed a bug where sometimes crash reports were not exported (#368)
* Added runtime details (storage, memory, battery) to crash reports (#369)
* Removed deprecated classes (#372)
* Included activity name in slow and frozen render reports (#373)
* Renamed the `SplunkRumBuilder#disableNetworkMonitorEnabled()` method to
`SplunkRumBuilder#disableNetworkMonitor()` (#377)
* Added experimental React Native support (React Native lib will be developed and released
separately) (#381)

## Version 1.0.0-rc.1

Release candidate for 1.0.0.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
</p>

<p align="center">
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.18.0">
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-1.18.0-blueviolet?style=for-the-badge">
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.19.0">
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-1.19.0-blueviolet?style=for-the-badge">
</a>
<a href="https://github.com/signalfx/splunk-otel-android/releases">
<img alt="GitHub release (latest SemVer)" src="https://img.shields.io/github/v/release/signalfx/splunk-otel-android?include_prereleases&style=for-the-badge">
Expand Down Expand Up @@ -91,7 +91,7 @@ Then, add the latest release as a dependency in your application's build.gradle
```
dependencies {
...
implementation ("com.splunk:splunk-otel-android:1.0.0-rc.1")
implementation ("com.splunk:splunk-otel-android:1.0.0-rc.2")
...
}
```
Expand Down Expand Up @@ -127,7 +127,7 @@ Then, add the locally built library as a dependency in your application's build.
```
dependencies {
...
implementation ("com.splunk:splunk-otel-android:1.0.0-rc.2-SNAPSHOT")
implementation ("com.splunk:splunk-otel-android:1.0.0-rc.3-SNAPSHOT")
...
}
```
Expand Down
2 changes: 1 addition & 1 deletion splunk-otel-android-volley/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ you will also need to add the `splunk-otel-android-volley` dependency to your `b
```gradle
dependencies {
...
implementation("com.splunk:splunk-otel-android-volley:1.0.0-rc.1")
implementation("com.splunk:splunk-otel-android-volley:1.0.0-rc.2")
...
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public SplunkRumBuilder setBeaconEndpoint(String beaconEndpoint) {
* Sets the realm for the beacon to send RUM telemetry to. This should be used in place of the
* {@link #setBeaconEndpoint(String)} method in most cases.
*
* @param realm A valid Splunk "realm"
* @param realm A valid Splunk "realm", e.g. "us0", "eu0".
* @return {@code this}
*/
public SplunkRumBuilder setRealm(String realm) {
Expand Down Expand Up @@ -113,8 +113,7 @@ public SplunkRumBuilder setRumAccessToken(String rumAuthToken) {
/**
* Enables debugging information to be emitted from the RUM library.
*
* <p>This feature is disabled by default. You can enable it by calling this configuration
* method with a {@code true} value.
* <p>This feature is disabled by default. You can enable it by calling this method.
*
* @return {@code this}
*/
Expand All @@ -128,8 +127,7 @@ public SplunkRumBuilder enableDebug() {
* buffered in the local storage until it is exported; otherwise, it is buffered in memory and
* throttled.
*
* <p>This feature is disabled by default. You can enable it by calling this configuration
* method with a {@code true} value.
* <p>This feature is disabled by default. You can enable it by calling this method.
*
* @return {@code this}
*/
Expand All @@ -153,8 +151,7 @@ public SplunkRumBuilder enableReactNativeSupport() {
/**
* Disables the crash reporting feature.
*
* <p>This feature is enabled by default. You can disable it by calling this configuration
* method with a {@code true} value.
* <p>This feature is enabled by default. You can disable it by calling this method.
*
* @return {@code this}
*/
Expand All @@ -166,8 +163,7 @@ public SplunkRumBuilder disableCrashReporting() {
/**
* Disables the network monitoring feature.
*
* <p>This feature is enabled by default. You can disable it by calling this configuration
* method with a {@code true} value.
* <p>This feature is enabled by default. You can disable it by calling this method.
*
* @return {@code this}
*/
Expand All @@ -181,8 +177,7 @@ public SplunkRumBuilder disableNetworkMonitor() {
* thread is unresponsive for 5 seconds or more, an event including the main thread's stack
* trace will be reported to the RUM system.
*
* <p>This feature is enabled by default. You can disable it by calling this configuration
* method with a {@code true} value.
* <p>This feature is enabled by default. You can disable it by calling this method.
*
* @return {@code this}
*/
Expand All @@ -194,8 +189,7 @@ public SplunkRumBuilder disableAnrDetection() {
/**
* Disables the slow rendering detection feature.
*
* <p>This feature is enabled by default. You can disable it by calling this configuration
* method with a {@code true} value.
* <p>This feature is enabled by default. You can disable it by calling this method.
*
* @return {@code this}
*/
Expand All @@ -207,7 +201,7 @@ public SplunkRumBuilder disableSlowRenderingDetection() {
/**
* Configures the rate at which frame render durations are polled.
*
* @param interval The period that should be used for polling
* @param interval The period that should be used for polling.
* @return {@code this}
*/
public SplunkRumBuilder setSlowRenderingDetectionPollInterval(Duration interval) {
Expand Down Expand Up @@ -247,7 +241,7 @@ public SplunkRumBuilder setDeploymentEnvironment(String environment) {
/**
* Configures span data filtering.
*
* @param configurer A function that will configure the passed {@link SpanFilterBuilder}
* @param configurer A function that will configure the passed {@link SpanFilterBuilder}.
* @return {@code this}
*/
public SplunkRumBuilder filterSpans(Consumer<SpanFilterBuilder> configurer) {
Expand All @@ -260,6 +254,10 @@ public SplunkRumBuilder filterSpans(Consumer<SpanFilterBuilder> configurer) {
* storage. When this value is exceeded, older telemetry will be deleted until the usage is
* reduced.
*
* <p>This setting only applies when {@linkplain #enableDiskBuffering() disk buffering is
* enabled}.
*
* @param maxUsageMegabytes The maximum disk buffer size, in megabytes.
* @return {@code this}
*/
public SplunkRumBuilder limitDiskUsageMegabytes(int maxUsageMegabytes) {
Expand All @@ -274,6 +272,7 @@ public SplunkRumBuilder limitDiskUsageMegabytes(int maxUsageMegabytes) {
* <p>This feature is disabled by default - i.e. by default, all sessions are sampled, which is
* equivalent to {@code ratio = 1.0}.
*
* @param ratio The desired ratio of sampling. Must be within [0.0, 1.0].
* @return {@code this}
*/
public SplunkRumBuilder enableSessionBasedSampling(double ratio) {
Expand Down

0 comments on commit 9e4207a

Please sign in to comment.