message: [secure-counters] Implement gauge
  Missing the set option
  Closes:
  Approved by: ankushagrawal
diff: @@ -19,12 +19,16 @@ impl BaseMetric {
  }
  }
  + pub fn inc(&self) {
  + self.inc_by(1);
  + }
  +
  pub fn inc_by(&self, i: i64) {
  self.counter.fetch_add(i, Ordering::Relaxed);
  }
  - pub fn inc(&self) {
  - self.inc_by(1);
  + pub fn set(&self, i: i64) {
  + self.counter.store(i, Ordering::Relaxed);
  }
  }
  @@ -48,13 +52,13 @@ impl Counter {
  }
  }
  - pub fn inc_by(&self, i: i64) {
  - self.base_counter.inc_by(i);
  - }
  -
  pub fn inc(&self) {
  self.base_counter.inc();
  }
  +
  + pub fn inc_by(&self, i: i64) {
  + self.base_counter.inc_by(i);
  + }
  }
  impl PushMetricFormat for Counter {
  @@ -85,6 +89,10 @@ impl Gauge {
  has_been_set: AtomicBool::new(false),
  }
  }
  +
  + pub fn set(&self, i: i64) {
  + self.base_counter.set(i)
  + }
  }
  impl PushMetricFormat for Gauge {
  