package
0.0.0-20241012212722-707ce4310a56
Repository: https://github.com/itallix/go-metrics.git
Documentation: pkg.go.dev

# Functions

NewCounter constructs new metric instance of type Counter with specified id and value.
NewGauge constructs new metric instance of type Gauge with specified id and value.
ParseFileConfig used to read configuration for server or agent from the specified JSON file.

# Constants

defines counter metric type with integer values.
defines gauge metric type with float values.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AgentConfig describes customization settings for the agent.
Metrics describes JSON payload for metrics of different types.
ServerConfig describes customization settings for the server.

# Type aliases

MetricType is a string-based type reserved for metric types.