Skip to content

Commit

Permalink
Add metrics logs observer
Browse files Browse the repository at this point in the history
  • Loading branch information
NipunaMadhushan committed Nov 19, 2024
1 parent f37ec1d commit 0970764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ballerina/init.bal
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function init() {
}

if (observe:isMetricsLogsEnabled()) {
var err = externEnableMetricsLogging(observe:getTracingProvider());
var err = externEnableMetricsLogging(observe:getMetricsLogsProvider());
if (err is error) {
externPrintError("failed to enable tracing");
}
Expand Down

0 comments on commit 0970764

Please sign in to comment.