Module otel_view

Data Types

config()

config() = #{description => unicode:unicode_binary() | undefined, attribute_keys => [atom()] | undefined, aggregation_module => module() | default | undefined, aggregation_options => map()}

exemplar_reservoir

criteria()

criteria() = #{instrument_name => otel_instrument:name(), instrument_kind => otel_instrument:kind(), instrument_unit => otel_instrument:unit(), meter_name => unicode:unicode_binary() | undefined, meter_version => unicode:unicode_binary() | undefined, meter_schema_url => unicode:unicode_binary() | undefined}

name()

name() = atom()

t()

t() = #view{}

Function Index

match_instrument_to_views/4
new/2
new/3

Function Details

match_instrument_to_views/4

match_instrument_to_views(Instrument::otel_instrument:t(), Views::[t()], ExemplarsEnabled::boolean(), ExemplarFilter::always_on | always_off | trace_based) -> [{t() | undefined, #stream{}}]

new/2

new(Criteria::criteria() | undefined, Config::config()) -> {ok, t()} | {error, named_wildcard_view}

new/3

new(Name::name(), Criteria::criteria() | undefined, Config::config()) -> {ok, t()} | {error, named_wildcard_view}


Generated by EDoc