Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartOutgoingGroupSegment ¶
func StartOutgoingGroupSegment( ctx context.Context, extSvcInfo monitoring.ExternalServiceInfo, serviceName, reqMethod, reqURL string, ) (context.Context, func(error))
StartOutgoingGroupSegment starts an outgoing HTTP client unary request group segment to group all client calls including retries. The return is the `End` func to close the segment
func StartOutgoingSegment ¶
func StartOutgoingSegment( ctx context.Context, extSvcInfo monitoring.ExternalServiceInfo, serviceName string, r *http.Request, ) (context.Context, func(int, error))
StartOutgoingSegment starts a outgoing HTTP client segment. The return is the `End` func to close the segment
Types ¶
type RequestMetadata ¶
func StartIncomingRequest ¶
func StartIncomingRequest(m *monitoring.Monitor, r *http.Request) (context.Context, RequestMetadata, func(int, error))
Click to show internal directories.
Click to hide internal directories.