Skip to content
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.

opentelemetry-beam/opentelemetry_zipkin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED

This project has moved to the main OpenTelemetry Erlang/Elixir repo.

OpenTelemetry Zipkin Exporter

Zipkin exporter for OpenTelemetry Erlang/Elixir instrumentation.

Requires Zipkin 2.8 or above because it uses the v2 API with protobuf content type.

Setup

Easiest way to setup is to add configuration for the batch processor in OpenTelemetry application environment.

For an Erlang release in sys.config:

{opentelemetry,
  [{processors, 
    [{otel_batch_processor,
        #{exporter => {opentelemetry_zipkin, #{address => "http://localhost:9411/api/v2/spans",
                                               local_endpoint => #{service_name => <<"ServiceName">>}}}}}]}]}

An Elixir release uses releases.exs:

config :opentelemetry,
    :processors, otel_batch_processor: %{exporter: {:opentelemetry_zipkin, %{address: 'http://localhost:9411/api/v2/spans', local_endpoint: %{service_name: "ServiceName"}}}}

About

Zipkin exporter for OpenTelemetry Erlang/Elixir

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages