commit | dcd4686b244871e8d554f45d7a73dd9e80a1c6dd | [log] [tgz] |
---|---|---|
author | Aaron Green <aarongreen@pigweed.infra.roller.google.com> | Fri Sep 27 14:59:44 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 27 14:59:44 2024 +0000 |
tree | f235eaee1d3e86610d08a4f6a502989caaf58139 | |
parent | 8436a4b55bc9e60d45db2929926de2a589c6154a [diff] |
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/8735632691717540353 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Id67c6bfb5fd9b946c1fcad57115e4ff873a24cae Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/238418 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
git clone https://pigweed.googlesource.com/pigweed/showcase/sense
Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.
Please visit Sense: An interactive tour through Pigweed to get started.