Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Labels ¶
Labels builds an exporter that manipulates the context using the event. If the event is type IsLabel or IsStartSpan then it returns a context updated with label values from the event. For all other event types the event labels will be updated with values from the context if they are missing.
func LogWriter ¶
LogWriter returns an Exporter that logs events to the supplied writer. If onlyErrors is true it does not log any event that did not have an associated error. It ignores all telemetry other than log events.
Types ¶
type Span ¶
type Span struct { Name string ID SpanContext ParentID SpanID // contains filtered or unexported fields }
type SpanContext ¶
Directories ¶
Path | Synopsis |
---|---|
Package eventtest supports logging events to a test.
|
Package eventtest supports logging events to a test. |
Package metric aggregates events into metrics that can be exported.
|
Package metric aggregates events into metrics that can be exported. |
Package ocagent adds the ability to export all telemetry to an ocagent.
|
Package ocagent adds the ability to export all telemetry to an ocagent. |
Click to show internal directories.
Click to hide internal directories.