Documentation ¶
Overview ¶
Package emf implements an EMF metrics publisher.
This package is designated as private and is intended for use only by the smithy client runtime. The exported API therein is not considered stable and is subject to breaking changes without notice.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
// contains filtered or unexported fields
}
Entry represents a log entry in the EMF format.
func NewEntry ¶
func NewEntry(namespace string, serializer metrics.Serializer) Entry
NewEntry creates a new Entry with the specified namespace and serializer.
func (*Entry) AddDimension ¶
AddDimension adds a CW Dimension to the EMF entry.
func (*Entry) AddProperty ¶
AddProperty adds a CW Property to the EMF entry. Properties are not published as metrics, but they are available in logs and in CW insights.
Click to show internal directories.
Click to hide internal directories.