Skip to content

Commit

Permalink
work in progress around 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
breedx-splk committed Sep 4, 2024
1 parent 5d7927a commit ec3f5e0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ allprojects {
repositories {
google()
mavenCentral()
// TODO: Remove after android-agent 0.7.0-alpha is released
maven { url = uri("https://oss.sonatype.org/content/repositories/snapshots") }
}
if (findProperty("release") != "true") {
version = "$version-SNAPSHOT"
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ opentelemetry-core = "1.41.0"
opentelemetry-core-alpha = "1.41.0-alpha"
opentelemetry-inst = "2.6.0"
opentelemetry-inst-alpha = "2.6.0-alpha"
opentelemetry-android = "0.7.0-alpha-SNAPSHOT"
opentelemetry-android = "0.7.0-alpha"
opentelemetry-semconv = "1.26.0-alpha"
mockito = "5.13.0"
junit = "5.11.0"
Expand All @@ -20,7 +20,7 @@ opentelemetry-bom = { module = "io.opentelemetry:opentelemetry-bom", version.ref
opentelemetry-sdk = { module = "io.opentelemetry:opentelemetry-sdk", version.ref = "opentelemetry-core" }
opentelemetry-api = { module = "io.opentelemetry:opentelemetry-api", version.ref = "opentelemetry-core" }
opentelemetry-api-events = { module = "io.opentelemetry:opentelemetry-api-events", version.ref = "opentelemetry-core-alpha" }
opentelemetry-android = { module = "io.opentelemetry.android:android-agent", version.ref = "opentelemetry-android" }
opentelemetry-android-agent = { module = "io.opentelemetry.android:android-agent", version.ref = "opentelemetry-android" }
opentelemetry-instrumenter-api = { module = "io.opentelemetry.instrumentation:opentelemetry-instrumentation-api", version.ref = "opentelemetry-inst" }
opentelemetry-instrumenter-api-incubator = { module = "io.opentelemetry.instrumentation:opentelemetry-instrumentation-api-incubator", version.ref = "opentelemetry-inst-alpha" }
opentelemetry-instrumentation-okhttp = { module = "io.opentelemetry.instrumentation:opentelemetry-okhttp-3.0", version.ref = "opentelemetry-inst-alpha" }
Expand Down
2 changes: 1 addition & 1 deletion splunk-otel-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ android {
dependencies {
api(platform(libs.opentelemetry.instrumentation.bom))
api(platform(libs.opentelemetry.bom))
api(libs.opentelemetry.android)
api(libs.opentelemetry.android.agent)

implementation(libs.opentelemetry.sdk)
implementation(libs.opentelemetry.instrumentation.okhttp)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ private Supplier<SpanExporter> supplyOtlpExporter() {
OtlpHttpSpanExporter.builder()
.setEndpoint(endpoint)
.addHeader("X-SF-Token", builder.rumAccessToken)
.
.build();
}

Expand Down

0 comments on commit ec3f5e0

Please sign in to comment.