[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
1 file changed
tree: 6e9ff2828b07c73cf65da464872274900dbef607
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.