Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPipedEvent ¶
Types ¶
type EventValue ¶
type EventValue struct { Timestamp string `json:"timestamp"` Entity *types.Entity `json:"entity"` Check *types.Check `json:"check"` Metrics *types.Metrics `json:"namespace"` Metadata types.ObjectMeta `json:"metadata"` }
func ParseEventTimestamp ¶
func ParseEventTimestamp(event *types.Event) (EventValue, error)
type MetricValue ¶
type MetricValue struct { Timestamp string `json:"timestamp"` Name string `json:"name"` Entity string `json:"entity"` Value float64 `json:"value"` Namespace string `json:"namespace"` Tags []string `json:"tags"` }
func GetMetricFromPoint ¶
func GetMetricFromPoint(point *types.MetricPoint, entityID string, namespaceID string, entityLabels map[string]string, pointNameAsMetricName bool) (MetricValue, error)
Click to show internal directories.
Click to hide internal directories.