package
2.14.2
Repository: https://github.com/coopnorge/go-datadog-lib.git
Documentation: pkg.go.dev

# Functions

AppendUserToTrace includes identifier of user that would be attached to span in datadog Deprecated: AppendUserToTrace previously added CoopID to Datadog-spans, which could be used to look up other PII-information.
CreateChildSpan will create a child-span of the span embedded in sourceCtx.
CreateNestedTrace will fork parent tracer to attach to parent one with new operation and resource from sourceCtx Deprecated: Use CreateChildSpan instead.
LogFieldsWithTrace will log message by logger.Level with trace if it's present in context.Context Deprecated: LogFieldsWithTrace will be removed in a future major version and should not be used.
LogWithTrace will log message by logger.Level with trace if it's present in context.Context Deprecated: LogWithTrace will be removed in a future major version and should not be used.
OverrideTraceResourceName set custom resource name for traced span aka SQL Query, Request, I/O etc.

# Structs

No description provided by the author