import "github.com/newrelic/go-agent/v3/internal/awssupport"
EndSegment will end any segment found in the given context.
GetRequestID looks for the AWS request ID header.
func StartSegment(input StartSegmentInputs) *http.Request
StartSegment starts a segment of either type DatastoreSegment or ExternalSegment given the serviceName provided. The segment is then added to the request context.
type StartSegmentInputs struct { HTTPRequest *http.Request ServiceName string Operation string Region string Params interface{} }
StartSegmentInputs is used as the input to StartSegment.
Package awssupport imports 5 packages (graph) and is imported by 2 packages. Updated 2020-07-07. Refresh now. Tools for package owners.