roll: pigweed pw_metric: Emit valid JSON from Metric::Dump
This CL makes adjustments to the `Dump` methods of `Metric` and `Group`
to log a valid JSON object. Previously, it emitted a sequence of JSON
objects which were missing some commas between objects in some places
and had extraneous trailing commas in others. This change makes it
easier for other tools to injest and manipulate the result of a metric
dump.
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/237933
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Original-Revision: 30dcf2b202c792599151e7b09699e836e3cc44a3
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 92438518417d49..30dcf2b202c792
Roller-URL: https://ci.chromium.org/b/8735632721802752817
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I3ff5064b03e5d27972f9cc81ac46edc664239893
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/238472
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index c70f0c0..5320a38 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -49,8 +49,8 @@
module_name = "pigweed",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-09-27.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8735669687539707745.
- commit = "92438518417d49c3457090c1b3c57f71007743e8",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8735632721802752817.
+ commit = "30dcf2b202c792599151e7b09699e836e3cc44a3",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
)
@@ -58,8 +58,8 @@
module_name = "pw_toolchain",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-09-27.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8735669687539707745.
- commit = "92438518417d49c3457090c1b3c57f71007743e8",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8735632721802752817.
+ commit = "30dcf2b202c792599151e7b09699e836e3cc44a3",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
strip_prefix = "pw_toolchain_bazel",
)