-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modules: memfault: Enable user-provided heartbeat collect #12819
modules: memfault: Enable user-provided heartbeat collect #12819
Conversation
Thank you for your contribution! Note: This comment is automatically posted and updated by the Contribs GitHub Action. |
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for the patch!
Added a couple of suggestions in the Kconfig, nothing major
Thank you @jtguggedal for the review! I've applied the changes, should be ready to go now. |
738ceb4
to
a804871
Compare
Permit overriding the built-in NCS `memfault_metrics_heartbeat_collect_data()` with a custom version. Application will need to select `CONFIG_MEMFAULT_NCS_IMPLEMENT_METRICS_COLLECTION=n`, then implement the function elsewhere. Expose the `memfault_ncs_metrics_collect_data()` data collection function so a user can run that in addition to their own metrics. Signed-off-by: Noah Pendleton <[email protected]>
a804871
to
00051d2
Compare
For Device Vitals, populate these metrics. I had to pull in an extra commit from this in-flight PR: nrfconnect/sdk-nrf#12819 I created a new branch `noahp/dogfood` off `gminn/v2.5.99-lte-metrics` and rebased it on top of 7e318acebcc7d44faf9da13f2183f279c95055f2 of upstream NCS main, and hacked and slashed until it worked, but it is NOT clean, TODO need to update a new `dogfood` branch that contains the correct combination of upstream and memfault changes. Note that the charger-connect event is not wired up, but that should still enable decent quality soc drop data.
For Device Vitals, populate these metrics. I had to pull in an extra commit from this in-flight PR: nrfconnect/sdk-nrf#12819 I created a new branch `noahp/dogfood` off `gminn/v2.5.99-lte-metrics` and rebased it on top of 7e318acebcc7d44faf9da13f2183f279c95055f2 of upstream NCS main, and hacked and slashed until it worked, but it is NOT clean, TODO need to update a new `dogfood` branch that contains the correct combination of upstream and memfault changes. Note that the charger-connect event is not wired up, but that should still enable decent quality soc drop data.
Permit overriding the built-in NCS
memfault_metrics_heartbeat_collect_data()
with a custom version.Application will need to select
CONFIG_MEMFAULT_NCS_IMPLEMENT_METRICS_COLLECTION=n
, then implement the function elsewhere.Expose the
memfault_ncs_metrics_collect_data()
data collection function so a user can run that in addition to their own metrics.