Skip to content

Commit

Permalink
Adding the VS version and edition to all metrics reports. (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivannaranjo authored Apr 21, 2017
1 parent 73bcdd0 commit dc56ab4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ namespace GoogleCloudExtension.Analytics
internal class AnalyticsEvent
{
private const string VersionName = "version";
private const string VsVersionName = "vsversion";
private const string VsEditionName = "vsedition";

public string Name { get; }

Expand Down Expand Up @@ -49,6 +51,8 @@ private static Dictionary<string, string> GetMetadataFromParams(string[] args)
}

result[VersionName] = GoogleCloudExtensionPackage.ApplicationVersion;
result[VsVersionName] = GoogleCloudExtensionPackage.VsVersion;
result[VsEditionName] = GoogleCloudExtensionPackage.VsEdition;
return result;
}
}
Expand Down

0 comments on commit dc56ab4

Please sign in to comment.