/metrics

Primary LanguageGoApache License 2.0Apache-2.0

Ziti Metrics Library

This is a metrics library which is built on, and extends the go-metrics library.

It extends it by adding the following:

  1. Support for interval counters. These collect event counts related to a given identifier, over a given interval. The interval buckets are flushed regularly. These are good for things like collecting usage data.
  2. A Dispose method is defined on metrics, so they can be cleaned up, for metrics tied to transient entities.
  3. Reference counted metrics