Skip to content
  1. Oct 24, 2020
  2. Oct 23, 2020
  3. Oct 21, 2020
  4. Oct 20, 2020
    • s3krit's avatar
      Automation for new release process (#1754) · 8ad2f362
      s3krit authored
      8ad2f362
    • Peter Goodspeed-Niklaus's avatar
      use prometheus properly · 16ce6cba
      Peter Goodspeed-Niklaus authored
      Prometheus lets us register simple counters, which aren't very
      interesting. It also allows us to register CounterVecs, which are.
      With a CounterVec, you can provide a set of labels, which can
      later be used to filter the counts.
      
      We were using them wrong, though. This pattern was repeated in a
      variety of places in the code:
      
      ```rust
      // panics with an cardinality mismatch
      let my_counter = register(CounterVec::new(opts, &["succeeded", "failed"])?, registry)?;
      my_counter.with_label_values(&["succeeded"]).inc()
      ```
      
      The problem is that the labels provided in the constructor are not
      the set of legal values which can be annotated, but a set of individual
      label names which can have individual, arbitrary values.
      
      This commit fixes that.
      16ce6cba
    • Peter Goodspeed-Niklaus's avatar
      fix broken SpawnedSubsystem impls · 1b13b293
      Peter Goodspeed-Niklaus authored
      detailed logging determined that using the `Box::new` style of
      future generation, the `self.run` method was never being called,
      leading to dropped receivers / closed senders for those subsystems,
      causing the overseer to shut down immediately.
      
      This is not the final fix needed to get things working properly,
      but it's a good start.
      1b13b293
  5. Oct 19, 2020
  6. Oct 17, 2020
  7. Oct 16, 2020
  8. Oct 15, 2020
  9. Oct 14, 2020
  10. Oct 13, 2020