Crate sampler_config

source ·


  • Configuration for a single metric to map from an Inspect property to a Cobalt metric.
  • ParsedSelector stores the information Sampler needs to use the selector.
  • Configuration for a single project to map Inspect data to its Cobalt metrics.
  • Container for all configurations needed to instantiate the Sampler infrastructure. Includes: - Project configurations. - Minimum sample rate.
  • A selector entry in the configuration file is either a single string or a vector of string selectors. Either case is converted to a vector with at least one element.