Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EMFPublisher ¶
type EMFPublisher struct {
// contains filtered or unexported fields
}
EMFPublisher is a MetricPublisher implementation that publishes metrics to stdout using EMF format.
func NewEMFPublisher ¶
func NewEMFPublisher(namespace string, serializer metrics.Serializer) *EMFPublisher
NewEMFPublisher creates a new EMFPublisher with the specified namespace and serializer.
func (*EMFPublisher) PostRequestMetrics ¶
func (p *EMFPublisher) PostRequestMetrics(data *metrics.MetricData) error
PostRequestMetrics publishes the request metrics to stdout using EMF format.
func (*EMFPublisher) PostStreamMetrics ¶
func (p *EMFPublisher) PostStreamMetrics(data *metrics.MetricData) error
PostStreamMetrics publishes the stream metrics to stdout using EMF format.
func (*EMFPublisher) RemoveAdditionalDimension ¶
func (p *EMFPublisher) RemoveAdditionalDimension(key string)
func (*EMFPublisher) SetAdditionalDimension ¶
func (p *EMFPublisher) SetAdditionalDimension(key string, value string)
Click to show internal directories.
Click to hide internal directories.