package
1.0.1
Repository: https://github.com/megaease/metrics-go.git
Documentation: pkg.go.dev

# Functions

DefaultBodySizeBuckets returns default body size buckets in bytes.
DefaultDurationBuckets returns default duration buckets in milliseconds.
DefaultObjectives returns default summary objectives.
NewHTTPStat creates an HTTPStat.
NewMetricsHub initializes a new MetricsHub instance.
ValidateLabelName checks if the label name is valid.
ValidateMetricName checks if the metric name is valid.

# Constants

No description provided by the author
MergedLabelValue is the placeholder value for merged metrics.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The status of a result.
The status of a result.
The status of a result.

# Structs

No description provided by the author
MetricsHub wraps Prometheus metrics for monitoring purposes.
MetricsHub wraps Prometheus metrics for monitoring purposes.
MetricsHub wraps Prometheus metrics for monitoring purposes.
No description provided by the author
Result is used to form the notification message.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

MetricsHub wraps Prometheus metrics for monitoring purposes.
ResultStatus is the status of result.