Skip to content

Commit 1c457ab

Browse files
Added note on supported data requirements for Device Defender (#429)
* Added note on supported data requirements for Device Defender * Updated note wording
1 parent 8ba1a3e commit 1c457ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

samples/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -843,3 +843,9 @@ must provide privileges for this sample to connect, publish, and receive.
843843
}
844844
</pre>
845845
</details>
846+
847+
**Note:** The formatting and data requirements for custom metrics in Device Defender are listed below. If you input data that does not follow the requirements, it will be sent in the JSON packet but Device Defender will not show/retain the data! If your data is not showing up in Device Defender, please double check that your data fits into the requirements below.
848+
849+
* `number` and `number-list` types: Supports precision up to 15 digits. Supports both positive and negative values.
850+
* `string-list` type: Supports letters A through Z (uppercase and lowercase) and the characters `:`, `_`, `-`, `/`, and `.
851+
* `ip-list` type: Supports only valid IPV4 and IPV6 addresses.

0 commit comments

Comments
 (0)