SQLinstrumentation when developing on Windows for ARM #3927
Unanswered
StefanBilliet
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi :-)
I trying to get OpenTelemetry going in an ASP.NET application, including SQL instrumentation, with a Jaeger exporter.
I'm developing on 2 machines: a Windows 11 VM on an Intel MBP and a Windows 11 on ARM VM on a Mac Studio.
When I run on the Intel machine, I can see the activities starting in ASP.NET with sub activities for SQL statements. However on Windows for ARM, I only see the ASP.NET activities, but no SQL sub activities.
I've been digging through the decompiled code and I sometimes see preprocessor directives like
#if NETFRAMEWORK
. I would imagine my application would trigger this block, since it's an .NET 4.8 application, but it doesn't. Every time I open a piece of code where that preprocessor directive is included, Rider shows it as grey, as if it won't be included in the compilation.This would kind of explain why my SQL instrumentation isn't working, but I don't understand why that preprocessor directive wouldn't work on Windows for ARM?
Beta Was this translation helpful? Give feedback.
All reactions