# Packages
Package mock_monitor is a generated GoMock package.
# Interfaces
BrickMetric is a marker interface.
BricksCounter defines a counter to be implemented by external wrapper.
BricksGauge defines a gauge to be implemented by external wrapper.
BricksHistogram defines a histogram to be implemented by external wrapper.
BricksMetrics defines various monitoring capabilities to be implemented by external wrapper.
BricksReporter defines Metrics reporter to be implemented by external wrapper.
BricksTimer defines a timer to be implemented by external wrapper.
Builder defines a simple BricksReporter builder.
Counter is a Metric that represents a single numerical value that only ever goes up.
Gauge is a Metric that represents a single numerical value that can arbitrarily go up and down.
A Histogram counts individual observations from an event or sample stream in configurable buckets.
Metrics defines various monitoring capabilities
It is expected that each Metric is unique, uniqueness is calculated by combining - name - tag key names
Everytime you call to obtain one of the metrics, you will receive an instance.
Reporter defines Metrics reporter with Connect/Close options on demand and not on creation.
TagsAwareCounter defines a counter with the ability override tags value either explicitly or from context (by extractors).
TagsAwareGauge defines a gauge with the ability to override tags value either explicitly or from context (by extractors).
TagsAwareHistogram defines a histogram with the ability to override tags value either explicitly or from context (by extractors).
TagsAwareTimer defines a timer with the ability to override tags value either explicitly or from context (by extractors).
Timer is used to track duration of operations.
# Type aliases
Buckets must be ordered in increasing order.
ContextExtractor is a function that will extract values from the context and return them as Tags Make sure that this function returns fast and is "thread safe".
Tags or Labels, key->value.