Skip to content

Exposes Heroku environment variables as an OpenTelemetry resource

License

Notifications You must be signed in to change notification settings

breakroom/opentelemetry_heroku

Repository files navigation

opentelemetry_heroku

Exposes Heroku environment variables as an opentelemetry resource, using the semantic conventions defined in the opentelemetry spec.

Installation

Elixir

def deps do
  [
    {:opentelemetry_heroku, "~> 0.2"}
  ]
end

Erlang

{deps, [
  {opentelemetry_heroku, "~> 0.2"}
]}.

Usage

Include the module as one of the resource_detectors in the opentelemetry config:

Elixir

config :opentelemetry, resource_detectors: [:opentelemetry_heroku]

Erlang

%% config/sys.config.src
{resource_detectors, [opentelemetry_heroku]}

About

Exposes Heroku environment variables as an OpenTelemetry resource

Resources

License

Stars

Watchers

Forks

Packages

No packages published