Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLambdaSource ¶
GetLambdaSource returns the LogSource used by the extension
Types ¶
type CollectionRouteInfo ¶
type CollectionRouteInfo struct {
LogChannel chan *logConfig.ChannelMessage
MetricChannel chan []metrics.MetricSample
ExtraTags *Tags
ExecutionContext *ExecutionContext
LogsEnabled bool
EnhancedMetricsEnabled bool
}
CollectionRouteInfo is the route on which the AWS environment is sending the logs for the extension to collect them. It is attached to the main HTTP server already receiving hits from the libraries client.
func (*CollectionRouteInfo) ServeHTTP ¶
func (c *CollectionRouteInfo) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP - see type CollectionRouteInfo comment.
Click to show internal directories.
Click to hide internal directories.