package
0.0.0-20240619090254-3ffde40eee4d
Repository: https://github.com/darkomap/metricsservice.git
Documentation: pkg.go.dev
# Functions
GetGaugesSliceByMap returns models based on the specified data set.
NewMetricByProto returns a model by proto.Metric.
NewMetrics returns an empty model with the specified name and type.
NewMetricsByJSON returns a model by JSON.
NewMetricsByStrings returns a model with the specified id, type and value.
NewMetricsForCounter returns a counter model with the specified id and delta.
NewMetricsForGauge returns a gauge model with the specified id and value.
NewMetricsSliceByJSON returns a set of JSON models.
NewMetricsSliceByProto returns new slice of metrics by slice grpc metric.