Labels builds an exporter that manipulates the context using the event. If the event is type IsTag or IsStartSpan then it returns a context updated with tag values from the event. For all other event types the event tags will be updated with values from the context if they are missing.
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.
Spans creates an exporter that maintains hierarchical span structure in the context. It creates new spans on EventStartSpan, adds events to the current span on EventLog or EventTag, and closes the span on EventEndSpan. The span structure can then be used by other exporters.
|metric||Package metric aggregates events into metrics that can be exported.|
|ocagent||Package ocagent adds the ability to export all telemetry to an ocagent.|