Modules

oc_reporter oc_reporter_noop oc_reporter_sequential oc_reporter_zipkin oc_sampler oc_sampler_always oc_sampler_never oc_sampler_probability oc_server oc_span oc_span_ctx_binary oc_span_ctx_header oc_stat oc_stat_aggregation oc_stat_aggregation_count oc_stat_aggregation_distribution oc_stat_aggregation_latest oc_stat_aggregation_sum oc_stat_config oc_stat_exporter oc_stat_exporter_prometheus oc_stat_view oc_std_encoder oc_tag_ctx_binary oc_tag_ctx_header oc_tags oc_trace oc_trace_pb oc_transform ocp opencensus opencensus_app opencensus_sup

Module oc_tags

Data Types

key()


      key() = atom() | binary() | unicode:latin1_charlist()
      

tags()


      tags() = #{key() => value()}
      

value()


      value() = binary() | unicode:latin1_charlist()
      

Function Index

format_error/1
from_ctx/1
new/0
new/1
new_ctx/2
put/3
to_map/1
verify_key/1
verify_value/1

Function Details

format_error/1

format_error(X1) -> any()

from_ctx/1


      from_ctx(Ctx::ctx:t()) -> tags()
      

new/0


      new() -> tags()
      

new/1


      new(Map::maps:map()) -> tags()
      

new_ctx/2


      new_ctx(Ctx::ctx:t(), Tags::tags()) -> ctx:t()
      

put/3


      put(Key::key(), Value::value(), Tags::tags()) -> {ok, tags()} | {error, term()}
      

to_map/1


      to_map(Tags::tags()) -> maps:map()
      

verify_key/1

verify_key(Key) -> any()

verify_value/1

verify_value(Value) -> any()