package
0.0.0-20181105222139-aec1f2c433ff
Repository: https://github.com/bsick7/go-lambda.git
Documentation: pkg.go.dev

# Functions

AddFuncDuration enables easy reporting of function duration In the following example, "execution-duration" is added to metrics and "marked" at the end of the function to record function duration defer AddFuncDuration(metrics, "execution-duration", nil).
No description provided by the author
No description provided by the author
This will report duration in microseconds to cloudwatch The duration starts when this is created and ends when converted to MetricDatum via ToAWS.
No description provided by the author
NewCloudwatchEmitter creates an emitter that publishes to AWS Cloudwatch Metrics.
NewDatadogEmitter creates an emitter that publishes custom metrics to datadog via API.
NewNoopEmitter creates an emitter that ignores metrics.
NewStderrEmitter creates an emitter dumps metrics to stderr.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

MultiEmitter provides the ability to wrap multiple emitters.