Module otel_resource_app_env

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

Behaviours: otel_resource_detector.

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/1
parse/1

Function Details

get_resource/1

get_resource(Config) -> any()

parse/1

parse(Attributes) -> any()


Generated by EDoc