Documentation ¶
Index ¶
Constants ¶
View Source
const (
K8sNamespaceName = "k8s.namespace.name"
)
Variables ¶
This section is empty.
Functions ¶
func K8sAttributes ¶
K8sAttributes generates Kubernetes trace attributes for the object of the given name in the given namespace. resource identifies the object type as <singular>.<group>
Types ¶
type SpanData ¶
type SpanData struct { // Name is the span name Name string // Kind is the span kind Kind int // Attributes is the additional set of span attributes Attributes []trace.Attribute }
SpanData contains values for creating tracing spans.
func SpanDataFromContext ¶
SpanDataFromContext gets the span values from the context
Click to show internal directories.
Click to hide internal directories.