-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StopOperation reports telemetry that is not in current scope #686
Comments
This is affecting some customers;
Do we have a work around to provide customers? |
@MS-TimothyMothra For now, the only place Start/StopOperation are called by the SDK is .NET Core Http listener. The potential impact of this issue: wrong correlation that is hard to notice. The trace helps to understand that something is wrong, so I find it useful. I'll get in touch with the customer in #693 to help narrow the root cause. |
If other folks are landing here because their events are not showing up, and they are seeing the trace "Operation to stop does not match the current operation. Telemetry is not tracked." - make sure that you are not overwriting the operation.Telemetry.Id field between StartOperation and StopOperation. And if your failure events are not showing up in AppInsights, make sure that anytime you set Success = false, you also set a ResponseCode value. Otherwise, the service seems to silently drop these events. In hindsight, it seems obvious, but as someone with an existing request correlation system, trying to onboard to AppInsights for the first time, it seemed natural to put my own existing Request ID into that field. |
see #644 (comment).
The text was updated successfully, but these errors were encountered: