[roll] Roll cobalt STRUCT metric registry, validation and observation changes.
Example usage:
- id: 1
metric_name: my_struct_metric
metric_type: STRUCT
struct_fields:
- id: 1
name: function_name
type: STRING
string_candidate_file: "function_names.txt"
- id: 2
name: process_name
type: STRING
string_candidate_file: "process_names.txt"
- id: 3
name: error_kind
type: ENUM
enum:
0: UNKNOWN
1: INSUFFICIENT_MEMORY
2: DATA_ERROR
- id: 4:
name: fatal
type: BOOL
reports:
// Counts total errors across the fleet.
- id: 1
report_name: total_errors
report_type: STRUCT
aggregates:
- id: 1
name: total_fleet_errors
local: COUNT
global: SUM
// Counts how many devices experience an error for each process.
- id: 2
report_name: unique_device_count_per_process
report_type: STRUCT
aggregates:
- id: 1
for: process_name
local: GROUP_BY
global: GROUP_BY
- id: 2
name: device_count
global: COUNT
Original-Bug: b/382136380
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt/+/1154692
Original-Revision: 610ec4953bc90c2fffa4deff094b698ec650bfaa
GitOrigin-RevId: f699a4966882742cd9398dd1a857305d3f030c60
Change-Id: Ib4841bcdbff5a0ba8a74e76bc5761b184275f6eb
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 in one of the communication channels documented at get involved.
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.