From 09707649e67ccf0c40b5c2b9e81e2068dad62ae3 Mon Sep 17 00:00:00 2001 From: NipunaMadhushan Date: Tue, 19 Nov 2024 22:03:48 +0530 Subject: [PATCH] Add metrics logs observer --- ballerina/init.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ballerina/init.bal b/ballerina/init.bal index acfc22d..937640a 100644 --- a/ballerina/init.bal +++ b/ballerina/init.bal @@ -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"); }