package
0.1.1
Repository: https://github.com/qosgroup/cassini.git
Documentation: pkg.go.dev

# Functions

Collector returns a collector which exports metrics about status code of network service response.
Set the value to the collector mapper.
StartMetrics prometheus exporter("/metrics") service.

# Constants

nolint.
nolint.
KeyMetricType config key.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.

# Structs

CounterMetric stores a counter value.
GaugeMetric wraps prometheus export data.
ImmutableGaugeMetric stores an immutable value.
MetricConfig defined config about metric type.
TickerGaugeMetric wraps prometheus export data with ticker job.

# Interfaces

ExportMetric defined an interface about prometheus exporter metric.