Debugging Telemetry
Enable trace options to debug telemetry output. On the Device Agent, in
/etc/aos.conf
(usually), set these options and restart the
agent.
[DeviceTelemetryAgent] log_config = aos.infra.core.entity_util:DEBUG,aos.device.DeviceTelemetryAgent:DEBUG trace_config = MountFacility/0-8,DHT,AgentHeartbeat,TelemetryProxy
Log files containing trace information for telemetry agents will then be viewable in
/var/log/aos/DeviceTelemetryAgent.<pid>.<timestamp>.log
.
These log files are verbose, but they may point to various rendering and parsing
issues in the environment. When you finish troubleshooting, be sure to disable
logging.