-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Device Defender demo to send custom metrics (#1547)
Summary of changes: Add support for collecting custom metrics for CPU usage time data (obtained from /proc/uptime) and System Memory data (obtained from /proc/meminfo) Update utility for generating JSON report to support addition of custom metrics of string-list and number-list types for the 2 new metrics. Update demo file to obtain the CPU usage time and memory data metrics from the support and add them to JSON report before sending to the Devide Defender service. Update submodule for Device Defender library to access JSON report string literals relating to custom metrics. Hygiene improvement of JSON report builder to use key names from Defender library instead of have them hard-coded in internal implementation so that either of short or long key names are used depending on user configuration of library.
- Loading branch information
Showing
8 changed files
with
414 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.