Skip to content

Commit

Permalink
semantic version
Browse files Browse the repository at this point in the history
  • Loading branch information
shalom938 committed Nov 24, 2024
1 parent 3b37ea8 commit 41e6b9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import static net.bytebuddy.matcher.ElementMatchers.not;

// todo: method instrumentation is not used anymore. we use digma-agent to inject @WithSpan annotation to methods
// to enable it uncomment @AutoService and enable com.digma.otel.javaagent.extension.instrumentation.methods.MethodsInstrumentationTests
//@AutoService(InstrumentationModule.class)
public class DigmaMethodsInstrumentationModule extends InstrumentationModule {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import io.opentelemetry.sdk.common.InstrumentationScopeInfo;
import org.assertj.core.api.Assertions;
import org.digma.otel.extension.extension.version.BuildVersion;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;

Expand All @@ -20,6 +21,9 @@
import static io.opentelemetry.semconv.SemanticAttributes.CODE_FUNCTION;
import static io.opentelemetry.semconv.SemanticAttributes.CODE_NAMESPACE;

//we don't use method instrumentation anymore. see comment in
//com.digma.otel.javaagent.extension.instrumentation.methods.DigmaMethodsInstrumentationModule
@Disabled
class MethodsInstrumentationTests {

//Note: digma-junit instrumentation is disabled in jvm args. otherwise the
Expand Down

0 comments on commit 41e6b9c

Please sign in to comment.