Documentation
¶
Overview ¶
Package model represents metric model calculation helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeAttrSet ¶
EncodeAttrSet encodes an attribute.Set to JSON.
Types ¶
type Model ¶
type Model struct {
Services int // total count of services
Nodes int // total count of nodes
ServicesPerNode int // total count of services per node
MetricPerService int // total count of metrics per service
MetricCardinalityPerService int // total unique count of metric attribute set per service
MetricPerNode int // total count of metrics per node
Metrics int // instant unique count of metrics
DeploysPerMinute int // total count of deploys per minute
TotalCardinality int // instant unique count of metric attribute set
}
Model represents metric model calculation helpers.
func (Model) TotalResources ¶
TotalResources returns total count of unique resources.
Click to show internal directories.
Click to hide internal directories.