package
0.0.1
Repository: https://github.com/horm-database/common.git
Documentation: pkg.go.dev

# Functions

Counter creates a named counter.
IncrCounter increases counter key by value.
NewMetrics creates a new Metrics.
NewMultiDimensionMetrics creates a Record with multiple dimensions and metrics.
NewMultiDimensionMetricsX creates a named Record with multiple dimensions and metrics.
NewSingleDimensionMetrics creates a Record with no dimension and only one metric.
RegisterMetricsSink registers a Sink.
Report reports a multi-dimension record.
ReportMultiDimensionMetrics creates and reports a Record with multiple dimensions and metrics.
ReportMultiDimensionMetricsX creates and reports a named Record with multiple dimensions and metrics.
ReportSingleDimensionMetrics creates and reports a Record with no dimension and only one metric.

# Constants

average.
maximum.
median.
minimum.
Undefined.
instantaneous value.
summary.
timer.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Dimension defines the dimension.
Metrics defines the metric.
Record is the single record.
Sink defines the interface an external monitor system should provide.

# Type aliases

Policy is the metrics aggregation policy.