tree: 0ad6ec9eec906ec40c9f6a898ec79300708e9d20 [path history] [tgz]
  1. src/
  2. README.md
components/metrics/README.md

metrics

This API can easily be used to monitor device health over time (i.e. connectivity, battery life, MCU resource utilization, hardware degradation, etc.) and configure Alerts with the Memfault backend when things go astray. To get started, see this document.

Core features

  • Allows users to create entries that can be uploaded to the Memfault cloud.
  • Coredump info can include interrupt state, SDK info like Memfault log buffers, and reset reasons.

Storage allocations

  • memfault_metrics_boot(): connects the metrics into the event storage region, sets up the metrics timer, starts the timer, and adds an “unexpected reboot” counter metric.