Replies: 1 comment
-
Hi please report this issue/question in Application Insights/AzureMonitor repos/support channel to get help. This repo does not have any vendor specific components, and won't be able to offer much help. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am attempting to migrate a .NET console app that is using the Application Insights SDK to TrackEvent some data (which shows up in my App Insights instance as a customEvent) to OpenTelemetry. IIUC the closest thing to TrackEvent in OpenTelemetry is the Trace signal.
This is what I did before:
Here's what I'm trying now:
But when I run the code nothing appears to be sent. I've checked both customEvents and traces and neither has new data.
The
Instrumentation
key inTelemetryEvent
is correct for my App Insights resource and works fine with the old code. I've also tried replacing thatInstrumentationKey={e.InstrumentationKey}
string with the Connection String value that you get from the App Insights portal--no luck with that either.What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions