View Source otel_resource (opentelemetry v1.0.5)

Link to this section Summary

Types

values allowed in attributes of a resource are limited
t/0

Link to this section Types

Specs

key() :: unicode:latin1_binary().
values allowed in attributes of a resource are limited

Specs

schema_url() :: uri_string:uri_string().

Specs

t() :: #resource{}.

Specs

value() :: unicode:latin1_binary() | integer() | float() | boolean().

Link to this section Functions

Specs

attributes(t()) -> otel_attributes:t().

Specs

create(#{key() => value()} | [{key(), value()}]) -> t().

Specs

create(#{key() => value()} | [{key(), value()}], schema_url() | undefined) -> t().
Link to this function

merge(Resource, Current)

View Source

Specs

merge(t(), t()) -> t().

Specs

schema_url(t()) -> schema_url() | undefined.