Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientIPTags ¶
func ClientIPTags(headers map[string][]string, hasCanonicalHeaders bool, remoteAddr string) (tags map[string]string, clientIP netip.Addr)
ClientIPTags returns the resulting Datadog span tags `http.client_ip` containing the client IP and `network.client.ip` containing the remote IP. The tags are present only if a valid ip address has been returned by ClientIP().
func NormalizeHTTPHeaders ¶
NormalizeHTTPHeaders returns the HTTP headers following Datadog's normalization format.
func SetSecurityEventsTags ¶
SetSecurityEventsTags sets the AppSec-specific span tags when a security event occurred into the service entry span.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.