metrics

package
v0.1.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 3 Imported by: 0

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)

func (Metric) String

func (m Metric) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL