Skip to content

Commit

Permalink
Fix more errors on compile
Browse files Browse the repository at this point in the history
  • Loading branch information
cb645j committed Dec 12, 2024
1 parent b44bc9d commit 26df3f1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
import io.opentelemetry.api.trace.SpanContext;
import io.opentelemetry.context.Context;
import io.opentelemetry.context.Scope;
import io.opentelemetry.instrumentation.camunda.v7_0.behavior.CamundaActivityExecutionGetter;
import io.opentelemetry.instrumentation.camunda.v7_0.behavior.CamundaVariableMapSetter;
import io.opentelemetry.instrumentation.camunda.v7_0.common.CamundaCommonRequest;
import io.opentelemetry.javaagent.bootstrap.Java8BytecodeBridge;
import io.opentelemetry.javaagent.camunda.v7_0.behavior.CamundaActivityExecutionGetter;
import io.opentelemetry.javaagent.camunda.v7_0.behavior.CamundaVariableMapSetter;
import io.opentelemetry.javaagent.camunda.v7_0.common.CamundaCommonRequest;
import io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation;
import io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import com.google.auto.service.AutoService;
import io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule;
import io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation;
import io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
Expand All @@ -23,11 +22,6 @@ public CamundaTaskActivityBehaviorModule() {
super("camunda", "camunda-behavior", "camunda-behavior-7_18");
}

@Override
public boolean defaultEnabled(ConfigProperties config) {
return config.getBoolean("otel.instrumentation.common.default-enabled", true);
}

@Override
public List<TypeInstrumentation> typeInstrumentations() {
return Collections.singletonList(new CamundaTaskActivityBehaviorInstrumentation());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import com.google.auto.service.AutoService;
import io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule;
import io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation;
import io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
Expand All @@ -23,11 +22,6 @@ public CamundaAsyncContinuationJobHandlerModule() {
super("camunda", "camunda-job", "camunda-job-7_18");
}

@Override
public boolean defaultEnabled(ConfigProperties config) {
return config.getBoolean("otel.instrumentation.common.default-enabled", true);
}

@Override
public List<TypeInstrumentation> typeInstrumentations() {
return Collections.singletonList(new CamundaAsyncContinuationJobHandlerInstrumentation());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ public class CamundaProcessSingletons {

private static final OpenTelemetry opentelemetry;

private static final boolean propagationEnabled;

static {
opentelemetry = GlobalOpenTelemetry.get();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
package io.opentelemetry.javaagent.instrumentation.camunda.v7_0.task;

import static io.opentelemetry.javaagent.extension.matcher.AgentElementMatchers.hasClassesNamed;
import static io.opentelemetry.javaagent.instrumentationn.camunda.v7_0.task.CamundaTaskSingletons.getInstumenter;
import static io.opentelemetry.javaagent.instrumentationn.camunda.v7_0.task.CamundaTaskSingletons.getOpentelemetry;
import static io.opentelemetry.javaagent.instrumentation.camunda.v7_0.task.CamundaTaskSingletons.getInstumenter;
import static io.opentelemetry.javaagent.instrumentation.camunda.v7_0.task.CamundaTaskSingletons.getOpentelemetry;
import static net.bytebuddy.matcher.ElementMatchers.named;

import io.opentelemetry.context.Context;
Expand Down

0 comments on commit 26df3f1

Please sign in to comment.