We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a device is reporting health with an empty metrics map, it gets treated as an error and triggers Logger.warning("Failed to save metrics").
Logger.warning("Failed to save metrics")
See matching on result of Repo.insert_all in Metrics.save_metrics:
Repo.insert_all
Metrics.save_metrics
case results do {0, _} -> :error {count, _} -> {:ok, count} end
The text was updated successfully, but these errors were encountered:
Ignore empty metrics map in health report (#1694)
3057064
Solves #1662. Also, the deprecated broadcast topic for health checks is replaced with the correct one.
No branches or pull requests
When a device is reporting health with an empty metrics map, it gets treated as an error and triggers
Logger.warning("Failed to save metrics")
.See matching on result of
Repo.insert_all
inMetrics.save_metrics
:The text was updated successfully, but these errors were encountered: