Exposes Heroku environment variables as an opentelemetry
resource, using the
semantic conventions defined in the opentelemetry
spec.
def deps do
[
{:opentelemetry_heroku, "~> 0.2"}
]
end
{deps, [
{opentelemetry_heroku, "~> 0.2"}
]}.
Include the module as one of the resource_detectors
in the opentelemetry
config:
config :opentelemetry, resource_detectors: [:opentelemetry_heroku]
%% config/sys.config.src
{resource_detectors, [opentelemetry_heroku]}