[roll] Roll fuchsia [fire] Add crash counts
Add per-component crash occurrences
Also fix a bug where upload_counts was being incremented even
if the fetched value == the occurrence cache value
Manual test:
Add `tracing::warn!("Logging events: {:?}", metric_events);`
right before the call to log_metric_events()
Add ` { "id": 901, "label": "V1", "moniker": "cpp_crasher.cmx" },
{ "id": 902, "label": "V2", "moniker": "core/ffx-laboratory:cpp_crasher" }`
to components.json
Set poll_rate_sec in crashes.json5 to 10
$ ffx component run fuchsia-pkg://fuchsia.com/crasher#meta/cpp_crasher.cm
$ fx shell run fuchsia-pkg://fuchsia.com/crasher#meta/cpp_crasher.cmx
$ fx log | grep sampler
Test: $ fx test //src/diagnostics/config/fire
Original-Bug: 80899
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/630461
Original-Revision: ff0ba0b90ce6d8e27f008b97fc671ba34e27d7ec
GitOrigin-RevId: dc0ce8ed87329afe2e326888c651080c9bad75c3
Change-Id: I906dd6b7fc91de974d624144718621b59926238b
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.