Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMetricKey ¶
func GetMetricKey(entityID string, m Metric) string
Types ¶
type Metric ¶
type Metric int
const (
MetricNodeRunning Metric = iota
MetricEdgeMessageSent
MetricEdgeMessageReceived
MetricNodeMessageSent
MetricNodeMessageReceived
)
func GetEntityAndMetric ¶
func GetEntityAndMetric(key string) (string, Metric, error)
Click to show internal directories.
Click to hide internal directories.