Skip to content

Commit

Permalink
Added device.machine attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
konraddysput committed Nov 16, 2022
1 parent e908211 commit ef93e76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Runtime/Model/Attributes/PiiAttributeProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public void GetAttributes(IDictionary<string, string> attributes)
if (SystemInfo.deviceModel != SystemInfo.unsupportedIdentifier)
{
attributes["device.model"] = SystemInfo.deviceModel;
attributes["device.machine"] = SystemInfo.deviceModel;
// This is typically the "name" of the device as it appears on the networks.
attributes["device.name"] = SystemInfo.deviceName;
attributes["device.type"] = SystemInfo.deviceType.ToString();
Expand Down

0 comments on commit ef93e76

Please sign in to comment.