# Functions
AddTracingToClient wraps the net/http.Client to automatically create child-spans, and append to HTTP Headers.
FullURLResourceNamer will name the ResourceName to "GET https://www.coop.no/api/some-service/some-endpoint" NOTE! This might leak unintended user-ids, if they are part of the URL-path.
FullURLWithParamsResourceNamer will name the ResourceName to "GET https://www.coop.no/api/some-service/some-endpoint?foo=bar" NOTE! This might leak unintended user-ids, credentials, or other things that are part of a URL.
HostResourceNamer will name the ResourceName to "www.coop.no".
StaticResourceNamer will set every span's ResourceName to str.
WithCustomTag will attach the value to the span tagged by the key.
WithRequestIgnorer specifies a function that will be called to determined if the request should be traced or not.
WithResourceNamer specifies a function that will be called to determine what the ResourceName of the span should be.
WithServiceName overrides the service-name set in environment-variable "DD_SERVICE".
WrapClient wraps the net/http.Client to automatically create child-spans, and append to HTTP Headers.
# Type aliases
Option allows for overriding our default-config.
RequestIgnorer is a function that will be called to determine if the request should be traced or not.
ResourceNamer is a function that will be called to determine what the ResourceName of the span should be.