commit | 736155dca288f075c51aaf7dd9e3b51fa79d0a7e | [log] [tgz] |
---|---|---|
author | Chris Phoenix <cphoenix@fuchsia.infra.roller.google.com> | Thu Dec 16 23:15:22 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Dec 16 15:17:47 2021 -0800 |
tree | 444e31ed23c92f6647f94f2ce74f483985f8fdf4 | |
parent | bfb75f895850e836cb1a0e710e95f8c75edb834c [diff] |
[roll] Roll fuchsia [diagnostics][sampler] Better keys for cached values To send event-count diffs to Cobalt we need to remember previous values. Currently these are keyed by the Diagnostics hierarchy path that selected them. But it can happen that multiple Diagnostics files (payloads) are returned for a single component, and a selector can match a value from each. To avoid name collisions, we'll build the metric_cache key from the metadata.filename as well as the selector string. This CL refactors ProjectSampler to make it more unit-testable. Original-Fixed: 90216 Test: $ fx test //src/diagnostics/sampler Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/617705 Original-Revision: 7d2becbc476804b973e095c1bcb2ff32d4051f02 GitOrigin-RevId: 0cb04eae8bf111041ce59f910352d2a76957984b Change-Id: Icda4474e941f260757c6446ef8c2924b6a73f3c8
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
.