Skip to content

Add more information in our NFW description to help the backend bucket it better#43897

Merged
CyrusNajmabadi merged 3 commits intodotnet:masterfrom
CyrusNajmabadi:watsonInfo2
May 5, 2020
Merged

Add more information in our NFW description to help the backend bucket it better#43897
CyrusNajmabadi merged 3 commits intodotnet:masterfrom
CyrusNajmabadi:watsonInfo2

Conversation

@CyrusNajmabadi
Copy link
Contributor

No description provided.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner May 2, 2020 01:07
continue;

return declaringTypeName + "." + methodName;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i've manually stepped through to make sure this works.

Copy link
Member

@tmat tmat May 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't walking the exception stack trace (new StackTrace(exception).GetFrames()) be better, finding a namespace that is a strict subnamespace of Microsoft.CodeAnalysis?

Do we want specific method name, or rather group all issues in the same namespace/type together?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want specific method name, or rather group all issues in the same namespace/type together?

I'd be interested to see how this breaks things down. I think this approach should give us nice unique issues, without over or underbucketing. We can always tweak later :)

@CyrusNajmabadi CyrusNajmabadi requested a review from tmat May 4, 2020 22:59
@CyrusNajmabadi
Copy link
Contributor Author

@tmat ?

@CyrusNajmabadi CyrusNajmabadi merged commit 6137d0e into dotnet:master May 5, 2020
@ghost ghost added this to the Next milestone May 5, 2020
session.PostEvent(faultEvent);
}

private static string GetDescription(Exception exception)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: rather than use the Description bucket for this, you could add the frame name to the end of the event, like "vs.ide.vbcs.nonfatalwatson" it could be "vs.ide.vbcs.nonfatalwatson."
That has the additional advantages of easier Kusto querying and freeing up a param for other distinguishing info.
S

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops: typo: instead of "vs.ide.vbcs.nonfatalwatson" it could be "vs.ide.vbcs.FrameName"

@JoeRobich JoeRobich modified the milestones: Next, 16.7.P2 May 18, 2020
@CyrusNajmabadi CyrusNajmabadi deleted the watsonInfo2 branch May 20, 2020 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants