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

Timestamp in metrics; vsys measurement support; voltage, heap, and rssi metrics #1

Merged
merged 2 commits into from
Apr 7, 2023

Conversation

gcochard
Copy link
Owner

@gcochard gcochard commented Apr 7, 2023

This adds an NTP init and a timestamp to all metrics emitted. This allows prometheus to deduplicate stale sensor measurements and show the graph as it should be shown. Also added is new support for measuring the vsys voltage (this can be used to determine battery SoC and whether we should enter a lower power mode). Additional metrics are heap used, heap free, and wifi RSSI.

Finally, we now set header strings directly rather than create a new string and then concatenate.

@gcochard gcochard merged commit ab0fa07 into main Apr 7, 2023
@gcochard gcochard deleted the timestamp-in-metrics branch April 7, 2023 20:47
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.

1 participant