diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index a432a49..cae6654 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -5,7 +5,7 @@ [ballerina] dependencies-toml-version = "2" -distribution-version = "2201.10.0" +distribution-version = "2201.11.0-SNAPSHOT" [[package]] org = "ballerina" diff --git a/ballerina/commons.bal b/ballerina/commons.bal index be73c21..5cbc5b7 100644 --- a/ballerina/commons.bal +++ b/ballerina/commons.bal @@ -61,6 +61,13 @@ public isolated function isMetricsEnabled() returns boolean = @java:Method { 'class: "io.ballerina.runtime.observability.ObserveUtils" } external; +# Check whether metrics logs is enabled. +# + return - metrics enabled/disabled. +public isolated function isMetricsLogsEnabled() returns boolean = @java:Method { + name: "isMetricsLogsEnabled", + 'class: "io.ballerina.runtime.observability.ObserveUtils" +} external; + # Retrieve metrics provider. # + return - metrics provider. public isolated function getMetricsProvider() returns string = @java:Method { diff --git a/gradle.properties b/gradle.properties index 863735b..ccc2955 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,7 +15,7 @@ org.gradle.caching=true group=io.ballerina.stdlib version=1.4.0-SNAPSHOT -ballerinaLangVersion=2201.11.0-20241218-101200-109f6cc7 +ballerinaLangVersion=2201.11.0-20241219-143200-53f6d83e githubSpotbugsVersion=6.0.18 githubJohnrengelmanShadowVersion=8.1.1 underCouchDownloadVersion=5.4.0