diff --git a/bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/observability/ObserveUtils.java b/bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/observability/ObserveUtils.java index ab773e90c508..e1067967aa89 100644 --- a/bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/observability/ObserveUtils.java +++ b/bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/observability/ObserveUtils.java @@ -73,7 +73,6 @@ public final class ObserveUtils { private static final boolean tracingEnabled; private static final BString tracingProvider; private static final boolean metricsLogsEnabled; - private static final BString metricsLogsProvider; static { // TODO: Move config initialization to ballerina level once checking config key is possible at ballerina level @@ -92,8 +91,6 @@ public final class ObserveUtils { PredefinedTypes.TYPE_STRING, false); VariableKey metricsLogsEnabledKey = new VariableKey(observeModule, "metricsLogsEnabled", PredefinedTypes.TYPE_BOOLEAN, false); - VariableKey metricsLogsProviderKey = new VariableKey(observeModule, "metricsLogsProvider", - PredefinedTypes.TYPE_STRING, false); metricsEnabled = readConfig(metricsEnabledKey, enabledKey, false); metricsProvider = readConfig(metricsProviderKey, null, StringUtils.fromString("default")); @@ -101,7 +98,6 @@ public final class ObserveUtils { tracingEnabled = readConfig(tracingEnabledKey, enabledKey, false); tracingProvider = readConfig(tracingProviderKey, providerKey, StringUtils.fromString("choreo")); metricsLogsEnabled = readConfig(metricsLogsEnabledKey, enabledKey, false); - metricsLogsProvider = readConfig(metricsLogsProviderKey, providerKey, StringUtils.fromString("choreo")); enabled = metricsEnabled || tracingEnabled || metricsLogsEnabled; }