Skip to content
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

MFLT-12997 better sync_memfault_successful metric #15

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

noahp
Copy link
Contributor

@noahp noahp commented Dec 20, 2023

Due to how memfault data is typically sent over MQTT, the
sync_memfault_successful built-in (zephyr port) metric doesn't fire,
since that is set in the http uploader.

Add the metric to the MQTT Memfault data uploader.

Drive-by changes included:

  • update to Memfault SDK v1.5.2
  • set a default static software_version of 0.0.99-dev, which should
    be overridden at OTA image build time on the command line. this helps
    distinguish dev builds from OTA builds.

Due to how memfault data is typically sent over MQTT, the
`sync_memfault_successful` built-in (zephyr port) metric doesn't fire,
since that is set in the http uploader.

Add the metric to the MQTT Memfault data uploader.

Drive-by changes included:

- update to Memfault SDK v1.5.2
- set a default static `software_version` of `0.0.99-dev`, which should
  be overridden at OTA image build time on the command line. this helps
  distinguish dev builds from OTA builds.
@noahp noahp requested review from gminn and a team December 20, 2023 17:29
Copy link

Some checks failed. Please fix and resubmit.

checkpatch (informational only, not a failure)

/home/runner/work/memfault-asset-tracker/memfault-asset-tracker/scripts/checkpatch.pl: 1: 404:: not found

Identity/Emails issues

dc5f83c: author email (Noah Pendleton [email protected]) must be a real email and cannot end in @users.noreply.github.com

Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages.

Copy link
Member

@gminn gminn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, and thank you for the drive-by changes!

src/modules/debug_module.c Show resolved Hide resolved
@noahp noahp merged commit 0b4b784 into main Dec 20, 2023
16 of 20 checks passed
@noahp noahp deleted the noahp/mflt-12997 branch December 20, 2023 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants