MCPcopy
hub / github.com/containerd/containerd / AddEvent

Method AddEvent

pkg/tracing/tracing.go:90–92  ·  view source on GitHub ↗

AddEvent adds an event with provided name and options.

(name string, attributes ...attribute.KeyValue)

Source from the content-addressed store, hash-verified

88
89// AddEvent adds an event with provided name and options.
90func (s *Span) AddEvent(name string, attributes ...attribute.KeyValue) {
91 s.otelSpan.AddEvent(name, trace.WithAttributes(attributes...))
92}
93
94// RecordError will record err as an exception span event for this span
95func (s *Span) RecordError(err error, options ...trace.EventOption) {

Callers 12

NewTaskMethod · 0.80
FireMethod · 0.80
createContainerMethod · 0.80
stopContainerMethod · 0.80
StartContainerMethod · 0.80
stopPodSandboxMethod · 0.80
RunPodSandboxMethod · 0.80
setupPodNetworkMethod · 0.80
RemoveContainerMethod · 0.80
RemovePodSandboxMethod · 0.80
RemoveImageMethod · 0.80
PullImageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected