Skip to content

Instantly share code, notes, and snippets.

@yatender-oktalk
Created July 13, 2020 05:23
Show Gist options
  • Save yatender-oktalk/b682a27dd8ebc328df60851602f8be4d to your computer and use it in GitHub Desktop.
Save yatender-oktalk/b682a27dd8ebc328df60851602f8be4d to your computer and use it in GitHub Desktop.
alpha---config.exs
import Config
config :opentelemetry,
:processors,
ot_batch_processor: %{
exporter:
{:opentelemetry_zipkin,
%{
address: 'http://localhost:9411/api/v2/spans',
local_endpoint: %{service_name: "alpha"}
}}
}
import Config
config :opentelemetry,
:processors,
ot_batch_processor: %{
exporter:
{:opentelemetry_zipkin,
%{
address: 'http://localhost:9411/api/v2/spans',
local_endpoint: %{service_name: "beta"}
}}
}
import Config
config :opentelemetry,
:processors,
ot_batch_processor: %{
exporter:
{:opentelemetry_zipkin,
%{
address: 'http://localhost:9411/api/v2/spans',
local_endpoint: %{service_name: "charlie"}
}}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment