# Functions
No description provided by the author
NewStopwatch creates a new immutable stopwatch for recording the start time to a stopwatch reporter.
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Buckets is an interface that can represent a set of buckets either as float64s or as durations.
Capabilities is a description of metrics reporting capabilities.
No description provided by the author
Counter is the interface for emitting counter type metrics.
Gauge is the interface for emitting gauge metrics.
Histogram is the interface for emitting histogram metrics.
Publishable is an interface which can be used to publish using publisher
Note - you can publish metric using metric.Scope -> it is mostly meant for publishing Prometheus, StatsD etc However there are times when we want to send high dim, high cardinality data to kafka or other system (as a metric) These event can then pe pushed to Druid, Data lake and gives business event visibility.
Publisher is an interface which can be used to publish a object.
Reporter is a Prometheus backed tally reporter.
Scope is a namespace wrapper around a stats reporter, ensuring that all emitted values have a given prefix or set of tags.
No description provided by the author
StopwatchRecorder is a recorder that is called when a stopwatch is stopped with Stop().
Timer is the interface for emitting timer metrics.