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

Initial Splunk code donation #3

Merged
merged 521 commits into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
521 commits
Select commit Hold shift + click to select a range
8451891
Bump AGP and spotless versions (#326)
Aug 5, 2022
4419f1e
Remove the local IP address from span (#327)
Aug 9, 2022
0864aed
Add StandardAttributes.APP_BUILD_TYPE (#328)
agoallikmaa Aug 9, 2022
957d99f
Crash reporting enhancements (#323)
Aug 10, 2022
0ba2387
Bump appcompat from 1.3.1 to 1.5.0 (#332)
dependabot[bot] Aug 11, 2022
c33b082
Update badges (#330)
breedx-splk Aug 11, 2022
deaf8f9
Add lychee link checker (#331)
breedx-splk Aug 11, 2022
fe2d1b1
Bump mockito-core from 4.6.1 to 4.7.0 (#333)
dependabot[bot] Aug 15, 2022
47aba42
Volley example and readme (#329)
breedx-splk Aug 16, 2022
f972c20
use docker image from corporate cache in gitlab pipeline (#334)
breedx-splk Aug 16, 2022
9c16aab
Prepare for the 0.17.0 release (#336)
Aug 19, 2022
fec8616
Update OTel version to 1.17 (#335)
Aug 19, 2022
9c422a8
Actually bump the version to 0.17.0 (#337)
Aug 19, 2022
00eb8f6
Bump robolectric from 4.8.1 to 4.8.2 (#338)
dependabot[bot] Aug 24, 2022
1bf8277
Bump webkit from 1.4.0 to 1.5.0 (#340)
dependabot[bot] Aug 25, 2022
dd28be3
Remove stateful mutable field from Config (#341)
Aug 30, 2022
da8b22d
Fix "License" header (#344)
pellared Sep 5, 2022
11593bd
Pin versions in GHA jobs (#346)
Sep 6, 2022
763bd1f
Add the release tagging script (#347)
Sep 6, 2022
172f951
Bump navigation-fragment from 2.5.1 to 2.5.2 (#349)
dependabot[bot] Sep 8, 2022
be95549
Bump mockito-core from 4.7.0 to 4.8.0 (#352)
dependabot[bot] Sep 8, 2022
2d61479
Bump navigation-ui from 2.5.1 to 2.5.2 (#350)
dependabot[bot] Sep 8, 2022
19ecafb
Bump appcompat from 1.5.0 to 1.5.1 (#351)
dependabot[bot] Sep 8, 2022
b7be663
Bump actions/setup-java from 3.4.1 to 3.5.0 (#353)
dependabot[bot] Sep 9, 2022
7eb5047
Introduce a SplunkRumBuilder class and deprecate Config (#342)
Sep 13, 2022
00c8329
Add nullaway and errorprone checks (#354)
Sep 16, 2022
c6bbbf4
Refactor SlowRenderingDetectorImpl so that it's thread-safe (#361)
Sep 26, 2022
d237fc1
Add carrier information to spans (#358)
breedx-splk Sep 26, 2022
e1fe417
Prepare for 1.0.0 RC1 (#362)
breedx-splk Sep 27, 2022
117f778
Bump actions/setup-java from 3.5.0 to 3.5.1 (#363)
dependabot[bot] Sep 27, 2022
2bc2a8c
add support for release candidate suffixes to the release script (#364)
breedx-splk Sep 27, 2022
6742845
bump version to rc2 (#366)
breedx-splk Sep 27, 2022
d146504
make Carrier final and add toString() (#365)
breedx-splk Oct 3, 2022
31b481d
Crash handler join() async flush result (#368)
breedx-splk Oct 3, 2022
cc0853f
Bump gradle from 7.2.2 to 7.3.0 (#357)
dependabot[bot] Oct 3, 2022
6282ca2
Bump actions/checkout from 3.0.2 to 3.1.0 (#370)
dependabot[bot] Oct 4, 2022
7f481fd
Bump desugar_jdk_libs version to 1.2.2 (#371)
Oct 5, 2022
7f73c98
Add runtime details to crash span (#369)
breedx-splk Oct 5, 2022
d01f7fe
Remove deprecated code (#372)
Oct 6, 2022
d859a9d
Include activity name in slow and frozen render reports (#373)
breedx-splk Oct 11, 2022
9bef49c
Minor API fix (#377)
Oct 11, 2022
b3e540e
Decouple global span attributes from RumAttributeAppender (#375)
Oct 12, 2022
3829c57
Add some FAQ content (#379)
breedx-splk Oct 12, 2022
44469dd
Decouple SlowRenderingDetector from ActivityCallbacks (#380)
Oct 12, 2022
f8ed61c
Bump OpenTelemetry version to 1.19 (#383)
Oct 13, 2022
ba6cc2c
React native exporter (#381)
mhennoch Oct 13, 2022
102e6ae
Bump gradle-nullaway-plugin from 1.3.0 to 1.4.0 (#390)
dependabot[bot] Oct 17, 2022
de5d2bb
Bump gradle-errorprone-plugin from 2.0.2 to 3.0.1 (#387)
dependabot[bot] Oct 17, 2022
6f9ab78
Bump com.diffplug.spotless from 6.9.0 to 6.11.0 (#389)
dependabot[bot] Oct 17, 2022
40ccb76
Bump spotless-plugin-gradle from 6.9.0 to 6.11.0 (#388)
dependabot[bot] Oct 17, 2022
57f084a
Extract running AppStateListeners to a separate ActivityLifecycleCall…
Oct 18, 2022
edfd561
Decouple resource attributes and zipkin span name from RumAttributeAp…
Oct 18, 2022
507a793
Migrate tests to junit5 (#391)
breedx-splk Oct 18, 2022
794e903
Refactor react native classes (#385)
Oct 19, 2022
883797b
Bump actions/setup-java from 3.5.1 to 3.6.0 (#394)
dependabot[bot] Oct 19, 2022
87c7a34
Bump mockito-junit-jupiter from 4.8.0 to 4.8.1 (#395)
dependabot[bot] Oct 19, 2022
aa3c5ef
Update License header (#392)
pellared Oct 20, 2022
9e4207a
Prepare for release 1.0.0-rc.2 (#393)
Oct 21, 2022
95bdc67
Bump gradle/wrapper-validation-action from 1.0.4 to 1.0.5 (#396)
dependabot[bot] Oct 27, 2022
96d206c
Bump navigation-ui from 2.5.2 to 2.5.3 (#397)
dependabot[bot] Oct 27, 2022
73725ce
Bump navigation-fragment from 2.5.2 to 2.5.3 (#398)
dependabot[bot] Oct 27, 2022
3d91ee1
Initial implementation of OpenTelemetryRum (#378)
Oct 30, 2022
eb439e9
Bump lycheeverse/lychee-action from 1.5.1 to 1.5.2 (#401)
dependabot[bot] Nov 4, 2022
0af808d
Extract ANR detection instrumentation (#399)
Nov 4, 2022
a324a53
Don't include first frame in draw duration histogram for slow renders…
breedx-splk Nov 4, 2022
0c07836
Bump gradle-nullaway-plugin from 1.4.0 to 1.5.0 (#403)
dependabot[bot] Nov 8, 2022
5d083bb
Bump lycheeverse/lychee-action from 1.5.2 to 1.5.3 (#404)
dependabot[bot] Nov 9, 2022
5eb7b75
Bump core from 1.4.0 to 1.5.0 (#405)
dependabot[bot] Nov 9, 2022
87039d9
Bump lycheeverse/lychee-action from 1.5.3 to 1.5.4 (#406)
dependabot[bot] Nov 10, 2022
8a148f1
Extract crash reporting instrumentation (#402)
Nov 10, 2022
f5ed33c
Bump mockito-core from 4.8.1 to 4.9.0 (#408)
dependabot[bot] Nov 15, 2022
1287cea
Bump mockito-junit-jupiter from 4.8.1 to 4.9.0 (#409)
dependabot[bot] Nov 15, 2022
7893159
Guard against empty files. (#407)
breedx-splk Nov 15, 2022
2f74525
Refactor CurrentNetwork: add a method that returns all network Attrib…
Nov 17, 2022
a89c0e0
Bump otelVersion from 1.19.0 to 1.20.0 (#411)
dependabot[bot] Nov 17, 2022
f871244
Bump com.diffplug.spotless from 6.11.0 to 6.12.0 (#414)
dependabot[bot] Nov 25, 2022
e2745d3
Bump spotless-plugin-gradle from 6.11.0 to 6.12.0 (#415)
dependabot[bot] Nov 25, 2022
e3cf6db
ConnectionUtil refactoring (and splitting out a NetworkAttributesAppe…
Dec 1, 2022
6b45d8e
Bump actions/setup-java from 3.6.0 to 3.7.0 (#416)
dependabot[bot] Dec 2, 2022
4402ac3
Bump httpclient from 4.5.13 to 4.5.14 (#417)
dependabot[bot] Dec 5, 2022
dda35fa
Bump actions/setup-java from 3.7.0 to 3.8.0 (#419)
dependabot[bot] Dec 7, 2022
2fd52c2
Bump actions/checkout from 3.1.0 to 3.2.0 (#420)
dependabot[bot] Dec 13, 2022
742649b
Bump otelVersion from 1.20.0 to 1.21.0 (#421)
dependabot[bot] Dec 16, 2022
8602729
Bump actions/setup-java from 3.8.0 to 3.9.0 (#422)
dependabot[bot] Dec 16, 2022
6acce4b
Bump mockito-core from 4.9.0 to 4.10.0 (#423)
dependabot[bot] Dec 16, 2022
809419a
Bump mockito-junit-jupiter from 4.9.0 to 4.10.0 (#424)
dependabot[bot] Dec 16, 2022
06130eb
Bump robolectric from 4.9 to 4.9.1 (#426)
dependabot[bot] Dec 20, 2022
425f74b
Prepare for the rc3 release (#425)
Dec 20, 2022
a1f7107
Bump robolectric from 4.9.1 to 4.9.2 (#427)
dependabot[bot] Dec 28, 2022
1ede73a
Bump mockito-core from 4.10.0 to 4.11.0 (#428)
dependabot[bot] Dec 29, 2022
70a6621
Bump com.diffplug.spotless from 6.12.0 to 6.12.1 (#430)
dependabot[bot] Jan 2, 2023
c52c734
Bump spotless-plugin-gradle from 6.12.0 to 6.12.1 (#431)
dependabot[bot] Jan 2, 2023
ebdd561
Bump mockito-junit-jupiter from 4.10.0 to 4.11.0 (#429)
dependabot[bot] Jan 3, 2023
703f545
Bump assertj-core from 3.23.1 to 3.24.1 (#434)
dependabot[bot] Jan 9, 2023
4486f6d
Bump actions/checkout from 3.2.0 to 3.3.0 (#433)
dependabot[bot] Jan 9, 2023
b7a393c
Bump junit-bom from 5.9.1 to 5.9.2 (#437)
dependabot[bot] Jan 11, 2023
ec94ba9
Update gradle to 7.6 (#435)
Jan 11, 2023
eda9351
Bump appcompat from 1.5.1 to 1.6.0 (#438)
dependabot[bot] Jan 12, 2023
6e7d504
Bump otelVersion from 1.21.0 to 1.22.0 (#439)
dependabot[bot] Jan 13, 2023
e624a01
Bump gradle from 7.3.1 to 7.4.0 (#440)
dependabot[bot] Jan 13, 2023
014fcf0
Bump mockito-core from 4.11.0 to 5.0.0 (#443)
dependabot[bot] Jan 16, 2023
fdbfe35
Bump com.diffplug.spotless from 6.12.1 to 6.13.0 (#441)
dependabot[bot] Jan 16, 2023
5fab8b3
Bump spotless-plugin-gradle from 6.12.1 to 6.13.0 (#444)
dependabot[bot] Jan 16, 2023
48b933b
Bump mockito-junit-jupiter from 4.11.0 to 5.0.0 (#442)
dependabot[bot] Jan 16, 2023
387b4d8
Bump assertj-core from 3.24.1 to 3.24.2 (#445)
dependabot[bot] Jan 17, 2023
e76dcce
Update README.md (#449)
theletterf Jan 23, 2023
0ef72c1
Update README.md (#451)
theletterf Jan 24, 2023
8e40535
Release 1.0.0 (#450)
breedx-splk Jan 24, 2023
2beef9e
update version (#452)
breedx-splk Jan 25, 2023
056ffb3
Bump webkit from 1.5.0 to 1.6.0 (#454)
dependabot[bot] Jan 26, 2023
6eb8f51
Update README badges (#455)
Jan 26, 2023
7a1b544
tweak tests (#457)
breedx-splk Jan 26, 2023
5ea7695
Bump spotless-plugin-gradle from 6.13.0 to 6.14.0 (#458)
dependabot[bot] Jan 27, 2023
1e57afc
Bump com.diffplug.spotless from 6.13.0 to 6.14.0 (#459)
dependabot[bot] Jan 27, 2023
70689c6
Bump mockito-core from 5.0.0 to 5.1.0 (#461)
dependabot[bot] Jan 30, 2023
a3f1a03
Bump mockito-junit-jupiter from 5.0.0 to 5.1.0 (#460)
dependabot[bot] Jan 30, 2023
984f05f
Bump desugar_jdk_libs from 1.1.6 to 2.0.0 (#356)
dependabot[bot] Jan 30, 2023
f90c8f2
Extract network monitoring instrumentation (#456)
Jan 30, 2023
4f2e11f
Bump org.mockito:mockito-core from 5.1.0 to 5.1.1 (#463)
dependabot[bot] Jan 31, 2023
b66cd0a
Bump org.mockito:mockito-junit-jupiter from 5.1.0 to 5.1.1 (#462)
dependabot[bot] Jan 31, 2023
26ba7e2
Bump com.android.tools.build:gradle from 7.4.0 to 7.4.1 (#466)
dependabot[bot] Feb 2, 2023
2d98904
Bump com.android.tools:desugar_jdk_libs from 2.0.0 to 2.0.1 (#465)
dependabot[bot] Feb 2, 2023
f57aaea
Extract the slow rendering detection instrumentation (#464)
Feb 3, 2023
1ccfd7e
Bump com.android.tools:desugar_jdk_libs from 2.0.1 to 2.0.2 (#467)
dependabot[bot] Feb 3, 2023
d307d46
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.14.0 to 6.14…
dependabot[bot] Feb 6, 2023
fffcb15
Bump com.diffplug.spotless from 6.14.0 to 6.14.1 (#469)
dependabot[bot] Feb 6, 2023
1c0b30f
Fix flaky crash reporter test (#470)
laurit Feb 6, 2023
e29427b
Bump actions/setup-java from 3.9.0 to 3.10.0 (#471)
dependabot[bot] Feb 8, 2023
10883ff
Bump androidx.appcompat:appcompat from 1.6.0 to 1.6.1 (#472)
dependabot[bot] Feb 9, 2023
bd835fb
Bump androidx.browser:browser from 1.4.0 to 1.5.0 (#473)
dependabot[bot] Feb 9, 2023
054d15c
Bump com.diffplug.spotless from 6.14.1 to 6.15.0 (#475)
dependabot[bot] Feb 13, 2023
f192ef0
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.14.1 to 6.15…
dependabot[bot] Feb 13, 2023
6d38904
Initial refactoring of Activity callbacks (#476)
breedx-splk Feb 17, 2023
d788d6f
Update otel version (#479)
breedx-splk Feb 20, 2023
e63ac4c
Bump gradle/wrapper-validation-action from 1.0.5 to 1.0.6 (#480)
dependabot[bot] Feb 20, 2023
64a9e4a
Refactor ActivityCallbacks (#478)
breedx-splk Feb 22, 2023
674adb0
Fix lychee version in place (#485)
Feb 23, 2023
a49c644
Extract unified lifecycle instrumentation to new class (#483)
breedx-splk Feb 24, 2023
23a521b
Bump com.android.tools.build:gradle from 7.4.1 to 7.4.2 (#488)
dependabot[bot] Mar 1, 2023
b1c4deb
Bump com.diffplug.spotless from 6.15.0 to 6.16.0 (#487)
dependabot[bot] Mar 1, 2023
51baaa9
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.15.0 to 6.16…
dependabot[bot] Mar 2, 2023
88ef1b3
Update instrumentation version (#489)
breedx-splk Mar 7, 2023
7b58dbc
Bump org.mockito:mockito-core from 5.1.1 to 5.2.0 (#493)
dependabot[bot] Mar 13, 2023
bee4245
Bump io.opentelemetry:opentelemetry-bom from 1.23.1 to 1.24.0 (#494)
dependabot[bot] Mar 13, 2023
96c768d
Bump com.diffplug.spotless from 6.16.0 to 6.17.0 (#495)
dependabot[bot] Mar 13, 2023
d344552
Bump org.mockito:mockito-junit-jupiter from 5.1.1 to 5.2.0 (#492)
dependabot[bot] Mar 13, 2023
a8636c0
Move SpanFilterBuilder and collaborators to otel package (#490)
breedx-splk Mar 13, 2023
d233421
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.16.0 to 6.17…
dependabot[bot] Mar 14, 2023
5e7771c
Bump actions/checkout from 3.3.0 to 3.4.0 (#497)
dependabot[bot] Mar 16, 2023
145152a
Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-a…
dependabot[bot] Mar 16, 2023
d7dfc54
Bump otelInstrumentationAlphaVersion (#499)
dependabot[bot] Mar 22, 2023
a63df41
More RumInitializer refactoring (#491)
breedx-splk Mar 22, 2023
2ee5114
Update README.md (#500)
theletterf Mar 23, 2023
6bee50b
Bump androidx.webkit:webkit from 1.6.0 to 1.6.1 (#502)
dependabot[bot] Mar 23, 2023
1816e4b
Bump actions/checkout from 3.4.0 to 3.5.0 (#510)
dependabot[bot] Mar 24, 2023
69f92cf
Migrate sampler to otel package (take 2) (#503)
breedx-splk Mar 24, 2023
7ff0dc2
Decouple session id name (#505)
breedx-splk Mar 24, 2023
740f08b
Move @RumScreenName to otel package. (#504)
breedx-splk Mar 27, 2023
7471e4a
Rename splunk.rum.previous_session_id (#506)
breedx-splk Mar 27, 2023
a43bf15
Bump actions/setup-java from 3.10.0 to 3.11.0 (#511)
dependabot[bot] Mar 28, 2023
f82a6cb
Conform with GDI spec v1.5.0 (#513)
Apr 3, 2023
813f2d9
Bump com.android.tools:desugar_jdk_libs from 2.0.2 to 2.0.3 (#514)
dependabot[bot] Apr 3, 2023
b2b8715
Bump com.diffplug.spotless from 6.17.0 to 6.18.0 (#517)
dependabot[bot] Apr 6, 2023
05a40f3
update and run spotless (#519)
breedx-splk Apr 7, 2023
c3ecbbb
Bump io.opentelemetry:opentelemetry-bom from 1.24.0 to 1.25.0 (#520)
dependabot[bot] Apr 10, 2023
958cf52
Bump org.robolectric:robolectric from 4.9.2 to 4.10 (#521)
dependabot[bot] Apr 12, 2023
4679741
Bump org.mockito:mockito-junit-jupiter from 5.2.0 to 5.3.0 (#522)
dependabot[bot] Apr 12, 2023
9f80d8c
Bump org.mockito:mockito-core from 5.2.0 to 5.3.0 (#523)
dependabot[bot] Apr 12, 2023
d16dbee
upgrade to gradle 8 and android core to 1.10.0 (#525)
breedx-splk Apr 12, 2023
62f7021
Bump actions/checkout from 3.5.0 to 3.5.1 (#527)
dependabot[bot] Apr 13, 2023
ea2d635
Bump org.jetbrains.kotlin:kotlin-bom from 1.8.0 to 1.8.20 (#528)
dependabot[bot] Apr 13, 2023
c0821e4
Bump actions/checkout from 3.5.1 to 3.5.2 (#530)
dependabot[bot] Apr 14, 2023
79015d4
Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-a…
dependabot[bot] Apr 14, 2023
a79caa0
Bump lycheeverse/lychee-action from 1.6.1 to 1.7.0 (#533)
dependabot[bot] Apr 18, 2023
b9c3adb
Bump otelInstrumentationAlphaVersion (#529)
dependabot[bot] Apr 18, 2023
cfcd0f3
Upgrade Android Gradle Plugin to 8.0 (#534)
Apr 20, 2023
7505d19
Migrate the bulk of resource building to otel package. (#524)
breedx-splk Apr 20, 2023
e74530d
Bump com.squareup.okhttp3:okhttp from 4.10.0 to 4.11.0 (#536)
dependabot[bot] Apr 24, 2023
7980339
Bump net.ltgt.gradle:gradle-errorprone-plugin from 3.0.1 to 3.1.0 (#535)
dependabot[bot] Apr 24, 2023
0e590a9
Bump org.mockito:mockito-core from 5.3.0 to 5.3.1 (#538)
dependabot[bot] Apr 24, 2023
4143481
Bump org.mockito:mockito-junit-jupiter from 5.3.0 to 5.3.1 (#537)
dependabot[bot] Apr 24, 2023
4850050
latest gradle requires java 17 (#539)
breedx-splk Apr 24, 2023
9ffc995
Bump org.jetbrains.kotlin:kotlin-bom from 1.8.20 to 1.8.21 (#540)
dependabot[bot] Apr 25, 2023
3af9b3f
Bump org.junit:junit-bom from 5.9.2 to 5.9.3 (#541)
dependabot[bot] Apr 26, 2023
922aa7f
Bump com.android.tools.build:gradle from 8.0.0 to 8.0.1 (#543)
dependabot[bot] May 2, 2023
30017bd
Bump org.robolectric:robolectric from 4.10 to 4.10.1 (#544)
dependabot[bot] May 3, 2023
f73261b
Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-a…
dependabot[bot] May 4, 2023
c8aa408
Translate OTel logs/events to spans (#515)
May 4, 2023
201d815
Bump org.robolectric:robolectric from 4.10.1 to 4.10.2 (#545)
dependabot[bot] May 5, 2023
0937135
Bump SDK version to 1.26 (#547)
May 8, 2023
180ab7e
Bump androidx.core:core from 1.10.0 to 1.10.1 (#550)
dependabot[bot] May 11, 2023
6f41b08
Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-a…
dependabot[bot] May 11, 2023
ba04020
Bump otelInstrumentationAlphaVersion (#548)
dependabot[bot] May 11, 2023
37b3817
Bump net.ltgt.gradle:gradle-nullaway-plugin from 1.5.0 to 1.6.0 (#552)
dependabot[bot] May 15, 2023
a087e51
Bump lycheeverse/lychee-action from 1.7.0 to 1.8.0 (#551)
dependabot[bot] May 15, 2023
b6a8c40
Fix compilation error in Volley (#554)
May 18, 2023
ebea0b5
Bump org.robolectric:robolectric from 4.10.2 to 4.10.3 (#553)
dependabot[bot] May 18, 2023
0834190
Remove in-repo docs and edit links (#555)
theletterf May 19, 2023
cc9d826
Bump com.diffplug.spotless from 6.18.0 to 6.19.0 (#557)
dependabot[bot] May 24, 2023
a22d3d2
Bump androidx.webkit:webkit from 1.6.1 to 1.7.0 (#559)
dependabot[bot] May 25, 2023
92275f4
Bump com.android.tools.build:gradle from 8.0.1 to 8.0.2 (#558)
dependabot[bot] May 25, 2023
5666e4d
Split splunk/otel into separate modules (#526)
breedx-splk Jun 6, 2023
d480a39
Bump spotless to 6.19 (#560)
Jun 7, 2023
b1371a0
Bump androidx.core:core from 1.9.0 to 1.10.1 (#564)
dependabot[bot] Jun 7, 2023
e737604
Bump org.mockito:mockito-core from 5.3.0 to 5.3.1 (#567)
dependabot[bot] Jun 7, 2023
d88dd4b
Bump org.robolectric:robolectric from 4.10 to 4.10.3 (#565)
dependabot[bot] Jun 7, 2023
49ce22d
Bump org.mockito:mockito-junit-jupiter from 5.3.0 to 5.3.1 (#566)
dependabot[bot] Jun 7, 2023
0de9a2c
Fix a handful of linter warnings in the sample app (#562)
breedx-splk Jun 7, 2023
b488dfe
make the otel submodule alpha (#561)
breedx-splk Jun 7, 2023
f526429
Bump org.junit:junit-bom from 5.9.2 to 5.9.3 (#572)
dependabot[bot] Jun 8, 2023
c6fc105
Bump com.google.guava:guava from 31.1-jre to 32.0.0-jre (#571)
dependabot[bot] Jun 8, 2023
446e239
Bump androidx.navigation:navigation-ui from 2.5.3 to 2.6.0 (#568)
dependabot[bot] Jun 8, 2023
13010a9
Bump org.jetbrains.kotlin:kotlin-bom from 1.8.21 to 1.8.22 (#570)
dependabot[bot] Jun 8, 2023
d3d6bd4
Bump androidx.navigation:navigation-fragment from 2.5.3 to 2.6.0 (#569)
dependabot[bot] Jun 8, 2023
918f65d
fix versions (#573)
breedx-splk Jun 9, 2023
e3fdfdf
Bump com.google.guava:guava from 32.0.0-jre to 32.0.1-jre (#574)
dependabot[bot] Jun 9, 2023
de0d7de
Bump actions/checkout from 3.5.2 to 3.5.3 (#577)
dependabot[bot] Jun 12, 2023
81b3e32
Bump io.opentelemetry:opentelemetry-bom from 1.26.0 to 1.27.0 (#578)
dependabot[bot] Jun 13, 2023
084fa64
Remove deprecated targetSdk (#581)
laurit Jun 16, 2023
28479bc
Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-a…
dependabot[bot] Jun 16, 2023
cd36d72
Bump otelInstrumentationAlphaVersion (#579)
dependabot[bot] Jun 16, 2023
84e88bc
Replace deprecated methods (#582)
laurit Jun 19, 2023
c76904b
Bump org.mockito:mockito-junit-jupiter from 5.3.1 to 5.4.0 (#583)
dependabot[bot] Jun 19, 2023
557185f
Bump org.mockito:mockito-core from 5.3.1 to 5.4.0 (#584)
dependabot[bot] Jun 19, 2023
9d434ff
migrate RuntimeDetailsExtractor to otel package (#575)
breedx-splk Jun 20, 2023
d9652c3
SpanDataModifier cleanups (#576)
breedx-splk Jun 29, 2023
2301052
Remove Guava dep (#588)
Jul 3, 2023
5aa3bea
Bump org.jetbrains.kotlin:kotlin-bom from 1.8.22 to 1.9.0 (#589)
dependabot[bot] Jul 6, 2023
a220491
Allow building RUM with preconfigured SDK. (#587)
breedx-splk Jul 6, 2023
1ced27b
Bump io.opentelemetry:opentelemetry-bom from 1.27.0 to 1.28.0 (#590)
dependabot[bot] Jul 10, 2023
b6e08cc
Bump io.opentelemetry.instrumentation:opentelemetry-instrumentation-a…
dependabot[bot] Jul 13, 2023
c10003f
Bump otelInstrumentationAlphaVersion (#592)
dependabot[bot] Jul 13, 2023
dc8ffb6
MOB-3245: Deprecating RumScreenName (#591)
dvernon-splunk Jul 14, 2023
87a693f
Bump com.diffplug.spotless from 6.19.0 to 6.20.0 (#595)
dependabot[bot] Jul 18, 2023
dfafacd
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.19.0 to 6.20…
dependabot[bot] Jul 18, 2023
070a768
setting up initial donation
breedx-splk Jul 24, 2023
d2606bf
omitting existing
breedx-splk Jul 24, 2023
0e4e161
remove existing
breedx-splk Jul 24, 2023
f54ed9e
Merge branch 'splunk' into initial_donation
breedx-splk Jul 24, 2023
d849e57
change copyright
breedx-splk Jul 24, 2023
2f7c981
repackage for io.opentelemetry.android
breedx-splk Jul 24, 2023
9a71d38
spotless
breedx-splk Jul 24, 2023
2f234ee
remove import
breedx-splk Jul 24, 2023
d0920f1
update ignores
breedx-splk Jul 24, 2023
750ac63
fix imports
breedx-splk Jul 24, 2023
e3c1724
rename gradle conventions for otel
breedx-splk Jul 24, 2023
485d349
remove splunk references
breedx-splk Jul 24, 2023
ffa5cf1
remove publishing block until we are ready (and to probably make us p…
breedx-splk Jul 24, 2023
a470d06
fix lowercase warning
breedx-splk Jul 24, 2023
344e89e
remove publishing block until we are ready (and to probably make us p…
breedx-splk Jul 24, 2023
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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
.idea
.idea
.gradle
/local.properties
.DS_Store
**/build/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# OpenTelemetry Android

:warning: This is a brand new repository that is in the process of being spun up.
:warning: This is a brand new repository that is in the process of being spun up.

## Status: Experimental

# About

The repository contains the OpenTelemetry Android SDK for generating mobile
client telemetry for real user monitoring (RUM). It is built on top
of the [OpenTelemetry Java SDK](https://github.com/open-telemetry/opentelemetry-java).
of the [OpenTelemetry Java SDK](https://github.com/open-telemetry/opentelemetry-java).
32 changes: 32 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
// keep this version in sync with /buildSrc/build.gradle.kts
classpath("com.android.tools.build:gradle:8.0.2")
}
}

plugins {
id("otel.spotless-conventions")
}

allprojects {
repositories {
google()
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}
if (findProperty("release") != "true") {
version = "$version-SNAPSHOT"
}
}

subprojects {
apply(plugin = "otel.spotless-conventions")
}
28 changes: 28 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
plugins {
`kotlin-dsl`

// When updating, update below in dependencies too
id("com.diffplug.spotless") version "6.20.0"
}

spotless {
kotlinGradle {
ktlint()
target("* * / *.gradle.kts")
}
}

repositories {
mavenCentral()
google()
gradlePluginPortal()
}

dependencies {
// keep this version in sync with /build.gradle.kts
implementation("com.android.tools.build:gradle:8.0.2")

implementation("com.diffplug.spotless:spotless-plugin-gradle:6.20.0")
implementation("net.ltgt.gradle:gradle-errorprone-plugin:3.1.0")
implementation("net.ltgt.gradle:gradle-nullaway-plugin:1.6.0")
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
import org.gradle.api.publish.maven.MavenPublication
import java.net.URI

plugins {
id("com.android.library")
id("maven-publish")
id("signing")
}

android {
lint {
warningsAsErrors = true
// A newer version of androidx.appcompat:appcompat than 1.3.1 is available: 1.4.1 [GradleDependency]
// we rely on dependabot for dependency updates
disable.add("GradleDependency")
}
}

val sourcesJar by tasks.registering(Jar::class) {

from(android.sourceSets.named("main").get().java.srcDirs)
archiveClassifier.set("sources")
}

project.afterEvaluate {

// note: we need to declare this here in afterEvaluate because the android plugin doesn't
// resolve dependencies early enough to make the libraryVariants hack work until here.
val javadoc by tasks.registering(Javadoc::class) {
source = android.sourceSets.named("main").get().java.getSourceFiles()
classpath += project.files(android.bootClasspath)

// grab the library variants, because apparently this is where the real classpath lives that
// is needed for javadoc generation.
val firstVariant = project.android.libraryVariants.toList().first()
val javaCompile = firstVariant.javaCompileProvider.get()
classpath += javaCompile.classpath
classpath += javaCompile.outputs.files
}

val javadocJar by tasks.registering(Jar::class) {
dependsOn(javadoc)
archiveClassifier.set("javadoc")
from(javadoc.get().destinationDir)
}

val component = project.components.findByName("release")
publishing {
publications {
}
}
}
39 changes: 39 additions & 0 deletions buildSrc/src/main/kotlin/otel.errorprone-conventions.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import net.ltgt.gradle.errorprone.CheckSeverity
import net.ltgt.gradle.errorprone.errorprone
import net.ltgt.gradle.nullaway.nullaway
import java.util.Locale

plugins {
id("net.ltgt.errorprone")
id("net.ltgt.nullaway")
}

dependencies {
errorprone("com.uber.nullaway:nullaway:0.9.9")
errorprone("com.google.errorprone:error_prone_core:2.15.0")
errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
}

nullaway {
annotatedPackages.add("io.opentelemetry.android")
}

tasks {
withType<JavaCompile>().configureEach {
options.errorprone {
if (name.lowercase(Locale.getDefault()).contains("test")) {
// just disable all error prone checks for test
isEnabled.set(false);
}

nullaway {
severity.set(CheckSeverity.ERROR)
}

// Builder 'return this;' pattern
disable("CanIgnoreReturnValueSuggester")
// Common to avoid an allocation
disable("MixedMutabilityReturnType")
}
}
}
39 changes: 39 additions & 0 deletions buildSrc/src/main/kotlin/otel.spotless-conventions.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import com.diffplug.gradle.spotless.SpotlessExtension

plugins {
id("com.diffplug.spotless")
}

extensions.configure<SpotlessExtension>("spotless") {
java {
googleJavaFormat().aosp()
licenseHeaderFile(rootProject.file("gradle/spotless.license.java"), "(package|import|public)")
target("src/**/*.java")
}
plugins.withId("org.jetbrains.kotlin.jvm") {
kotlin {
ktlint()
licenseHeaderFile(rootProject.file("gradle/spotless.license.java"), "(package|import|public)")
}
}
kotlinGradle {
ktlint()
}
format("misc") {
// not using "**/..." to help keep spotless fast
target(
".gitignore",
".gitattributes",
".gitconfig",
".editorconfig",
"*.md",
"src/**/*.md",
"docs/**/*.md",
"*.sh",
"src/**/*.properties"
)
indentWithSpaces()
trimTrailingWhitespace()
endWithNewline()
}
}
23 changes: 23 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app"s APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true

# generate the BuildConfig class that contains the app version
android.defaults.buildfeatures.buildconfig=true

version=0.1.0
group=io.opentelemetry.android
5 changes: 5 additions & 0 deletions gradle/spotless.license.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/

Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading