opentelemetry-erlang-contrib/utilities/opentelemetry_aws_xray
Bryan Naegele fba098719d
aws x-ray docs and license (#269)
* Update rebar.config

* Create LICENSE
2024-02-04 20:52:19 -07:00
..
src Update to opentelemetry_api 1.2 (#229) 2024-01-17 11:09:11 -07:00
test Implemented AWS X-Ray TraceId Generator (#95) 2022-07-21 11:40:47 -06:00
LICENSE aws x-ray docs and license (#269) 2024-02-04 20:52:19 -07:00
README.md Implemented AWS X-Ray TraceId Generator (#95) 2022-07-21 11:40:47 -06:00
rebar.config aws x-ray docs and license (#269) 2024-02-04 20:52:19 -07:00
rebar.lock Update to opentelemetry_api 1.2 (#229) 2024-01-17 11:09:11 -07:00

README.md

OpentelemetryXray

Implements an Id Generator compatible with AWS X-Ray TraceId

Installation

The package can be installed by adding opentelemetry_xray to your list of dependencies in mix.exs for elixir and rebar.config for erlang :

{deps, [opentelemetry_xray]}.
def deps do
  [
    {:opentelemetry_xray, "~> 0.1"}
  ]
end

Usage

Configure the OpenTelemetry to use the X-Ray Id Generator

  config :opentelemetry,
    id_generator: :otel_aws_xray_id_generator
[
 {opentelemetry,
  [{id_generator, otel_aws_xray_id_generator}]}
].