opentelemetry-erlang-contrib/utilities/opentelemetry_aws_xray
Bryan Naegele a7eb0dc5ff
Update aws xray project profiles (#268)
2024-02-04 20:41:14 -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
README.md Implemented AWS X-Ray TraceId Generator (#95) 2022-07-21 11:40:47 -06:00
rebar.config Update aws xray project profiles (#268) 2024-02-04 20:41:14 -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}]}
].