a7eb0dc5ff | ||
---|---|---|
.. | ||
src | ||
test | ||
README.md | ||
rebar.config | ||
rebar.lock |
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}]}
].