How do I access ETW Traces on SQL Server for linux?
How do I access ETW Traces on SQL Server for linux?


Unfortunately, ETW (Event Tracing for Windows) is not available on Linux.  It is a Windows-only function.  So for the time being you are stuck with the SQL and filesystem options for view the EE data.

The .NET Core team chose LTTng for trace support when .NET apps are running on Linux.  You could explore that as an option for correlating OS events with those recorded by SQL Server.



After your update (super interesting that ETW events might be firing in Drawbridge), I see that the .etl file is getting created on a file path that probably doesn't exist on your Linux-based Docker container.  You should try setting a known-good file path when you create the XE session:

ADD TARGET package0.etw_classic_sync_target   
    (SET default_etw_session_logfile_path = N'/temp/sqletw.etl' )