diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index e87e6f2..4e689c6 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -1,7 +1,7 @@ [package] org = "ballerina" name = "observe" -version = "1.3.0" +version = "1.4.0" distribution = "2201.10.0" export = ["observe", "observe.mockextension" ] @@ -9,7 +9,7 @@ export = ["observe", "observe.mockextension" ] graalvmCompatible = true [[platform.java17.dependency]] -path = "../native/build/libs/observe-native-1.3.0.jar" +path = "../native/build/libs/observe-native-1.4.0-SNAPSHOT.jar" groupId = "ballerina" artifactId = "observe" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index cb80600..a432a49 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -18,7 +18,7 @@ modules = [ [[package]] org = "ballerina" name = "observe" -version = "1.3.0" +version = "1.4.0" dependencies = [ {org = "ballerina", name = "jballerina.java"} ] diff --git a/ballerina/commons.bal b/ballerina/commons.bal index 8d31f18..be73c21 100644 --- a/ballerina/commons.bal +++ b/ballerina/commons.bal @@ -23,6 +23,7 @@ configurable boolean metricsEnabled = false; configurable string metricsReporter = ""; configurable boolean tracingEnabled = false; configurable string tracingProvider = ""; +configurable boolean metricsLogsEnabled = false; function init() returns error? { boolean isMissingMetricsReporter = ((enabled || metricsEnabled) && (provider == "" && metricsReporter == "")); diff --git a/gradle.properties b/gradle.properties index 7d94bff..dee7685 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ org.gradle.caching=true group=io.ballerina.stdlib -version=1.3.1-SNAPSHOT +version=1.4.0-SNAPSHOT ballerinaLangVersion=2201.10.0 githubSpotbugsVersion=5.0.14 githubJohnrengelmanShadowVersion=8.1.1