Tags: ktr0731/dd-trace-go
Tags
Revert "contrib/bradfitz/gomemcache: trace item info for memcached op… …erations (DataDog#642)" (DataDog#663) This reverts commit 3f45f6d. This can be problematic for multiple reasons such as producing unexpectedly large quantities of data, and possible security issues. We do not want to provide APIs with unexpected or potentially dangerous behavior.
internal/globalconfig: fix wrong mutex acquired for SetServiceName (D… …ataDog#659) Fixes DataDog#658
internal/globalconfig: fix wrong mutex acquired for SetServiceName (D… …ataDog#659) Fixes DataDog#658
internal/globalconfig: fix wrong mutex acquired for SetServiceName (D… …ataDog#659) Fixes DataDog#658
Revert "ddtrace/tracer: implement fmt.Formatter interface to support … …log injection (DataDog#639)" (DataDog#654) This reverts commit ef14697.
ddtrace/tracer: implement fmt.Formatter interface to support log inje… …ction (DataDog#639) This change implements `fmt.Formatter` to allow printing a span in various formats for logging.
contrib/internal/httputil: only set status once with WriteHeader (Dat… …aDog#629) The net/http only respects the first call to WriteHeader, ignoring others. This commit changes our responseWriter wrapper to do the same so we will get accurate reporting of status codes and errors when users call WriteHeader multiple times. Fixes DataDog#623
contrib: update non-client integrations to use configured service name ( DataDog#614) Integrations set their own service name regardless of what is configured in the tracer. This commit updates non-client integrations to pick up the tracer's service name if one has been configured with either the DD_SERVICE environment variable, or the WithService StartOption. They fall back to the previous default service name for the integration if a service name has no been set, or if it has been set with WithServiceName, for backwards-compatibility. WithServiceName has been deprecated, but retains its original behavior. Non-client integrations include things like http servers and frameworks, grpc servers, and queue consumers. Integrations can still be individually configured with their own service names which will override the one configured in the tracer. In order to do this, the tracer exposes its service name through the internal/globalconfig package, when set with DD_SERVICE or WithService
PreviousNext