-
Notifications
You must be signed in to change notification settings - Fork 191
IHttpRequestIdentifierFeature using Guid vs string #374
Comments
How did you come to that conclusion? |
Well most storage mechanisms have the concept that a Guid is fairly unique and has bounded "constraints" (i.e. its not 10,000 chars long), who knows that the string will contain. |
Even though this is designed for logging identifiers rather than correlation across systems, I could still imagine that a use might want to correlate between Glimpse and a log file they have. |
Well for APM type products that inspect variables, I think it is a lot easier to get the value of a string than a guid. |
In Application Insights all identifier are strings. So we should be good here. We have two types of user identity - anonymous user and authenticated user. Anonymous user is typically a |
Ok sounds good. |
Just wondering why
IHttpRequestIdentifierFeature
had its Identifier changed from aGuid
to astring
. This means that we can't just take this identifier and use it for storing/grouping the data. We will have to generate our own guid and then keep this around as well for correlation sake with other systems. I can see that the decision was made in #310 but it doesn't go into the why.// @Tratcher @davidfowl @SergeyKanzhelev
The text was updated successfully, but these errors were encountered: