Module otel_resource_app_env

Adds attributes to the Resource based on the value of resource in the opentelemetry application's environment.

Description

Adds attributes to the Resource based on the value of resource in the opentelemetry application's environment.

[{service, #{name => "service-name", namespace => "service-namespace"}]

Results in the Resource attributes service.name and service.namespace.

Function Index

get_resource/0
parse/1

Function Details

get_resource/0

get_resource() -> any()

parse/1

parse(Attributes) -> any()


Generated by EDoc