Module opencensus
opencensus main module.
Data Types
annotation()
      annotation() = #annotation{}
      attribute_value()
      attribute_value() = any()
      attributes()
      attributes() = #{unicode:unicode_binary() => attribute_value()}
      link()
      link() = #link{}
      link_type()
      link_type() = ?LINK_TYPE_UNSPECIFIED | ?LINK_TYPE_CHILD_LINKED_SPAN | ?LINK_TYPE_PARENT_LINKED_SPAN
      links()
      links() = [link()]
      message_event()
      message_event() = #message_event{}
      message_event_type()
      message_event_type() = ?MESSAGE_EVENT_TYPE_UNSPECIFIED | ?MESSAGE_EVENT_TYPE_SENT | ?MESSAGE_EVENT_TYPE_RECEIVED
      span()
      span() = #span{}
      span_ctx()
      span_ctx() = #span_ctx{}
      span_id()
      span_id() = non_neg_integer()
      stack_trace()
      stack_trace() = [erlang:stack_item()]
      status()
      status() = #status{}
      tags()
      tags() = oc_tags:tags()
      time_events()
      time_events() = [{wts:timestamp(), annotation() | message_event()}]
      trace_id()
      trace_id() = non_neg_integer()
      Function Index
| generate_span_id/0 | Generates a 64 bit random integer to use as a span id. | 
| generate_trace_id/0 | Generates a 128 bit random integer to use as a trace id. | 
Function Details
generate_span_id/0
      generate_span_id() -> span_id()
      Generates a 64 bit random integer to use as a span id.
generate_trace_id/0
      generate_trace_id() -> trace_id()
      Generates a 128 bit random integer to use as a trace id.