Skip to content

Commit

Permalink
Prepare for the 0.17.0 release (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Rzeszutek authored Aug 19, 2022
1 parent f972c20 commit 9c16aab
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 71 deletions.
119 changes: 54 additions & 65 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

## Version 0.17.0

* TBD
* Ignore background application starts when measuring AppStart events (#315)
* Remove the local IP address from span (#327)
* Add `StandardAttributes.APP_BUILD_TYPE` (#328)
* Updated to OpenTelemetry Java v1.17.0 (#335)
* Crash reporting enhancements: capture larger stack traces; in case multiple exceptions happen
during a crash only treat the first one as the cause (#323)

## Version 0.16.0

Expand Down Expand Up @@ -39,116 +46,98 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
* Add session timeout after a period of inactivity (#226)
* Numerous dependency upgrades

---
## Version 0.12.0
- BUGFIX: Initialization events now share the same clock instance.
- The `beaconEndpoint` configuration setting always overrides the `realm` setting.

---
* BUGFIX: Initialization events now share the same clock instance.
* The `beaconEndpoint` configuration setting always overrides the `realm` setting.

## Version 0.11.0
- BUGFIX: Fixed another issue that could service if the `ConnectivityManager` threw an exception when queried.

* BUGFIX: Fixed another issue that could service if the `ConnectivityManager` threw an exception when queried.
See the corresponding Android bug: https://issuetracker.google.com/issues/175055271
- ANR spans are now properly marked as ERROR spans.
- Library now targets SDK version 31 (minimum version is still 21)
- The opentelemetry-okhttp-3.0 instrumentation has been updated to version 1.6.2.
* ANR spans are now properly marked as ERROR spans.
* Library now targets SDK version 31 (minimum version is still 21)
* The opentelemetry-okhttp-3.0 instrumentation has been updated to version 1.6.2.

---
## Version 0.10.0

- BUGFIX: Fixed a bug that could crash the application if Android's `ConnectivityManager` threw an
exception when queried. See the corresponding Android bug: https://issuetracker.google.com/issues/175055271
- Updated OpenTelemetry okhttp instrumentation to v1.6.0.
- Capture attributes related to OkHttp Exceptions in the http client instrumentation.

---
* BUGFIX: Fixed a bug that could crash the application if Android's `ConnectivityManager` threw an
exception when queried. See the corresponding Android bug: https://issuetracker.google.com/issues/175055271
* Updated OpenTelemetry okhttp instrumentation to v1.6.0.
* Capture attributes related to OkHttp Exceptions in the http client instrumentation.

## Version 0.9.0

- A span is now created when the SessionId changes to link the new session to the old one. The exact
* A span is now created when the SessionId changes to link the new session to the old one. The exact
details of this span will probably change in the future.
- The library has been updated to use OpenTelemetry Java v1.6.0.
- All span string-valued attributes will now be truncated to 2048 characters if they exceed that
* The library has been updated to use OpenTelemetry Java v1.6.0.
* All span string-valued attributes will now be truncated to 2048 characters if they exceed that
limit.

---

## Version 0.8.0

- Fixed a `NullPointerException` that sometimes happened during the Network monitor initialization.
- The Zipkin exporter is now lazily initialized in a background thread. This change should greatly speed up the library startup.

---
* Fixed a `NullPointerException` that sometimes happened during the Network monitor initialization.
* The Zipkin exporter is now lazily initialized in a background thread. This change should greatly speed up the library startup.

## Version 0.7.0

- OpenTelemetry okhttp instrumentation has been updated to version 1.5.3-alpha.
- For okhttp, SplunkRum now exposes a wrapper for your `OkHttpClient` which implements the `Call.Factory`
* OpenTelemetry okhttp instrumentation has been updated to version 1.5.3-alpha.
* For okhttp, SplunkRum now exposes a wrapper for your `OkHttpClient` which implements the `Call.Factory`
interface. This `Call.Factory` will properly manage context propagation with asynchronous http calls.
- The okhttp Interceptor provided by SplunkRum has been deprecated. Please use the `Call.Factory` from now on.
* The okhttp Interceptor provided by SplunkRum has been deprecated. Please use the `Call.Factory` from now on.
The `createOkHttpRumInterceptor()` method will be removed in a future release.
- A new class (`com.splunk.rum.StandardAttributes`) has been introduced to provide `AttributeKey`s for
* A new class (`com.splunk.rum.StandardAttributes`) has been introduced to provide `AttributeKey`s for
standard RUM span attributes. Currently this class exposes the `APP_VERSION` attribute.
- The ANR detector and Network monitor will no longer operate when the app has been put in the background.
- A new API on the `Config.Builder` allows redacting of spans or redacting/replacing Span attributes. See
* The ANR detector and Network monitor will no longer operate when the app has been put in the background.
* A new API on the `Config.Builder` allows redacting of spans or redacting/replacing Span attributes. See
the new `filterSpans(Consumer<SpanFilterBuilder>)` method and the corresponding `com.splunk.rum.SpanFilterBuilder` class
for details.
- The `os.type` Span attribute has been changed to 'linux' and `os.name` attribute is now 'Android'.

---
* The `os.type` Span attribute has been changed to 'linux' and `os.name` attribute is now 'Android'.

## Version 0.6.0

- Adds proguard consumer information to assist with proguarded release builds.

---
* Adds proguard consumer information to assist with proguarded release builds.

## Version 0.5.0

- The initial cold `AppStart` span now starts with the library initialization and continues until the first Activity has been restored.
- Span names now have their capitalization preserved, rather than being lower-cased everywhere.

---
* The initial cold `AppStart` span now starts with the library initialization and continues until the first Activity has been restored.
* Span names now have their capitalization preserved, rather than being lower-cased everywhere.

## Version 0.4.0

- All methods deprecated in v0.3.0 have been removed.
- The span names generated for Activity/Fragment lifecycle events no longer include the
* All methods deprecated in v0.3.0 have been removed.
* The span names generated for Activity/Fragment lifecycle events no longer include the
Activity/Fragment name as a prefix. There is still an attribute which tracks the name.

---

## Version 0.3.0

- The `com.splunk.rum.Config.Builder` class has been updated.
- The `beaconUrl(String)` method has been deprecated and replaced with `beaconEndpoint(String)`.
- A new `realm(String)` method has been added for easier beacon endpoint configuration.
- The `rumAuthToken(String)` method has been deprecated and replaced with `rumAccessToken(String)`
.
- A new `deploymentEnvironment(String)` method has been added as a helper to set your deployment
* The `com.splunk.rum.Config.Builder` class has been updated.
* The `beaconUrl(String)` method has been deprecated and replaced with `beaconEndpoint(String)`.
* A new `realm(String)` method has been added for easier beacon endpoint configuration.
* The `rumAuthToken(String)` method has been deprecated and replaced with `rumAccessToken(String)`.
* A new `deploymentEnvironment(String)` method has been added as a helper to set your deployment
environment value.
- The method for recording exceptions has changed slightly:
- The method that took a `String name` parameter has been deprecated.
- New methods have been added that use the exception class name as the name of the Span.
- The `last.screen.name` attribute will only be recorded during detected screen transitions.
- New methods have been added to the `SplunkRum` API to allow updating the "global" attributes that
* The method for recording exceptions has changed slightly:
* The method that took a `String name` parameter has been deprecated.
* New methods have been added that use the exception class name as the name of the Span.
* The `last.screen.name` attribute will only be recorded during detected screen transitions.
* New methods have been added to the `SplunkRum` API to allow updating the "global" attributes that
are added to every span and event.

---
## Version 0.2.0

- Instrumentation has been updated to use OpenTelemetry v1.4.1
- ANRs are now detected by the Instrumentation and will be reported as "ANR" spans.
- A new API has been added to track timed RUM "workflows" as OpenTelemetry Span instances.
- The values reported for network types have been updated to match OpenTelemetry semantic
* Instrumentation has been updated to use OpenTelemetry v1.4.1
* ANRs are now detected by the Instrumentation and will be reported as "ANR" spans.
* A new API has been added to track timed RUM "workflows" as OpenTelemetry Span instances.
* The values reported for network types have been updated to match OpenTelemetry semantic
conventions.
- The SplunkRum class has had a method added to return a no-op implementation of the SplunkRum
* The SplunkRum class has had a method added to return a no-op implementation of the SplunkRum
capabilities.
- The SplunkRum initialization span now includes an attribute describing the features that have been
* The SplunkRum initialization span now includes an attribute describing the features that have been
configured.
- The instrumentation now tracks 3 types of AppStart spans: cold, hot and warm. Note that "hot"
* The instrumentation now tracks 3 types of AppStart spans: cold, hot and warm. Note that "hot"
starts are not tracked for multi-Activity apps, only single-Activity.

---
## Version 0.1.0

This is the first official beta release of the project.
12 changes: 6 additions & 6 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.15.0">
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-1.15.0-blueviolet?style=for-the-badge">
<a href="https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.17.0">
<img alt="OpenTelemetry Instrumentation for Java Version" src="https://img.shields.io/badge/otel-1.17.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 All @@ -22,8 +22,8 @@
<img alt="Build Status" src="https://img.shields.io/github/workflow/status/signalfx/splunk-otel-android/Continuous%20Build?style=for-the-badge">
</a>

<a href="https://github.com/signalfx/gdi-specification/releases/tag/v1.3.0">
<img alt="Splunk GDI specification" src="https://img.shields.io/badge/GDI-1.3.0-blueviolet?style=for-the-badge">
<a href="https://github.com/signalfx/gdi-specification/releases/tag/v1.4.0">
<img alt="Splunk GDI specification" src="https://img.shields.io/badge/GDI-1.4.0-blueviolet?style=for-the-badge">
</a>
<img alt="Beta" src="https://img.shields.io/badge/status-beta-informational?style=for-the-badge">
</p>
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:0.16.0")
implementation ("com.splunk:splunk-otel-android:0.17.0")
...
}
```
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:0.17.0-SNAPSHOT")
implementation ("com.splunk:splunk-otel-android:0.18.0-SNAPSHOT")
...
}
```
Expand Down

0 comments on commit 9c16aab

Please sign in to comment.