Skip to content

Commit

Permalink
Merge pull request #12069 from Thidasala/master
Browse files Browse the repository at this point in the history
Add getter for TelemetryTracer
  • Loading branch information
senthuran16 authored Jun 28, 2023
2 parents 4a49991 + 8095801 commit 27f3e7e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
import org.wso2.carbon.apimgt.tracing.TracingTracer;
import org.wso2.carbon.apimgt.tracing.Util;
import org.wso2.carbon.apimgt.tracing.telemetry.TelemetrySpan;
import org.wso2.carbon.apimgt.tracing.telemetry.TelemetryTracer;
import org.wso2.carbon.apimgt.tracing.telemetry.TelemetryUtil;
import org.wso2.carbon.context.PrivilegedCarbonContext;
import org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration;
Expand Down Expand Up @@ -1535,6 +1536,10 @@ public static TracingTracer getTracingTracer() {
return ServiceReferenceHolder.getInstance().getTracer();
}

public static TelemetryTracer getTelemetryTracer() {
return ServiceReferenceHolder.getInstance().getTelemetryTracer();
}

public static boolean isAllApisDeployed () {
return DataHolder.getInstance().isAllApisDeployed();
}
Expand Down

0 comments on commit 27f3e7e

Please sign in to comment.