Documentation
¶
Overview ¶
Package hostmetrics provides minimal, dependency-free metric emission via CloudWatch Embedded Metric Format (EMF).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Emit ¶
func Emit(namespace string, dimensions map[string]string, metrics []Metric, properties map[string]any)
Emit writes a CloudWatch Embedded Metric Format (EMF) JSON log line to stdout.
Dimensions define the CloudWatch metric dimensions for this record. Keys must match the values emitted into the top-level JSON object.
Types ¶
Click to show internal directories.
Click to hide internal directories.