birschick-bq commented on code in PR #3315:
URL: https://github.com/apache/arrow-adbc/pull/3315#discussion_r2373447860


##########
csharp/src/Drivers/Apache/Hive2/HiveServer2Connection.cs:
##########
@@ -294,6 +301,31 @@ internal HiveServer2Connection(IReadOnlyDictionary<string, 
string> properties)
             }
         }
 
+        private void TryInitTracerProvider(out FileActivityListener? 
fileActivityListener)
+        {
+            Properties.TryGetValue(ListenersOptions.Exporter, out string? 
exporterOption);
+            // This listener will only listen for activity from this specific 
connection instance.
+            bool shouldListenTo(ActivitySource source) => source.Tags?.Any(t 
=> t.Key == _traceInstanceId) == true;

Review Comment:
   changed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to