[time][httpsdate] Reduce logs and add counters in inspect

Updates warning logs so they are only output when the error that
triggered them is not identical to an error during the previous
attempt. This reduces logspam in cases such as a device without
internet access, which will repeatedly fail polls.
Instead, this outputs counters for each error type and successful polls
in inspect.

Bug: 60373

Testing: unit tests, manually verify output with fx iquery

Change-Id: Ifb4bd6b7d2edf7b5c4b16bedcc2470f7a85f3c88
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/439062
Commit-Queue: Satsuki Ueno <satsukiu@google.com>
Reviewed-by: Jody Sankey <jsankey@google.com>
Testability-Review: Jody Sankey <jsankey@google.com>
5 files changed
tree: d69652c35bdbdcacfed7f18550c9224912a0817e
  1. boards/
  2. build/
  3. bundles/
  4. cts/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.

Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.