Skip to content

Commit

Permalink
Update SDK to 1.17.0 (#420)
Browse files Browse the repository at this point in the history
* Update SDK to 1.17.0

* Fix
  • Loading branch information
trask authored Aug 19, 2022
1 parent 71cac47 commit da6dd00
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ val dependencyVersions = hashMapOf<String, String>()
rootProject.extra["versions"] = dependencyVersions

// this line is managed by .github/scripts/update-sdk-version.sh
val otelVersion = "1.16.0"
val otelVersion = "1.17.0"

val DEPENDENCY_BOMS = listOf(
"com.fasterxml.jackson:jackson-bom:2.13.2.20220328",
Expand Down
2 changes: 1 addition & 1 deletion runtime-attach/runtime-attach/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
compileOnly("com.google.code.findbugs:annotations")

testImplementation("io.opentelemetry.javaagent:opentelemetry-javaagent")
testImplementation("io.opentelemetry:opentelemetry-extension-annotations")
testImplementation("io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.assertj:assertj-core")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import static org.assertj.core.api.Assertions.assertThat;

import io.opentelemetry.extension.annotations.WithSpan;
import io.opentelemetry.instrumentation.annotations.WithSpan;
import org.junit.jupiter.api.Test;
import org.junitpioneer.jupiter.SetEnvironmentVariable;
import org.junitpioneer.jupiter.SetSystemProperty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import static org.assertj.core.api.Assertions.assertThat;

import io.opentelemetry.extension.annotations.WithSpan;
import io.opentelemetry.instrumentation.annotations.WithSpan;
import org.junit.jupiter.api.Test;

public class RunTimeAttachBasicTest extends AbstractAttachmentTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
package io.opentelemetry.contrib.staticinstrumenter.config;

import com.google.auto.service.AutoService;
import io.opentelemetry.instrumentation.api.config.Config;
import io.opentelemetry.javaagent.tooling.bootstrap.BootstrapPackagesBuilder;
import io.opentelemetry.javaagent.tooling.bootstrap.BootstrapPackagesConfigurer;
import io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties;

/**
* Makes classes from {@link io.opentelemetry.contrib.staticinstrumenter.agent.main} package
Expand All @@ -18,7 +18,7 @@
public class StaticPackagesConfigurer implements BootstrapPackagesConfigurer {

@Override
public void configure(Config config, BootstrapPackagesBuilder builder) {
public void configure(BootstrapPackagesBuilder builder, ConfigProperties config) {
builder.add("io.opentelemetry.contrib.staticinstrumenter.agent.main");
}
}

0 comments on commit da6dd00

Please sign in to comment.