Skip to content

Commit

Permalink
Merge pull request #113 from NipunaMadhushan/add-configuration
Browse files Browse the repository at this point in the history
Add configuration for enabling observability logs
  • Loading branch information
chathurace authored Nov 7, 2024
2 parents 6f556b1 + 7a77d27 commit 2b08794
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
org = "ballerina"
name = "observe"
version = "1.3.0"
version = "1.4.0"
distribution = "2201.10.0"
export = ["observe", "observe.mockextension" ]

[platform.java17]
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"

Expand Down
2 changes: 1 addition & 1 deletion ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ modules = [
[[package]]
org = "ballerina"
name = "observe"
version = "1.3.0"
version = "1.4.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand Down
1 change: 1 addition & 0 deletions ballerina/commons.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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 == ""));
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b08794

Please sign in to comment.