b4046eb073
* Copy opentelemetry-examples/basic_elixir over * Bump opentelemtry and opentelemetry_exporter to 1,0.0-rc.3 * Remove OpenTelemetry.register_application_tracer * Update example to be consistent with opentelemetry.io docs Co-authored-by: Tristan Sloughter <t@crashfast.com>
13 lines
473 B
Elixir
13 lines
473 B
Elixir
import Config
|
|
|
|
config :opentelemetry,
|
|
:processors,
|
|
otel_batch_processor: %{
|
|
# Using `otel` here since we are starting through docker-compose where
|
|
# otel refer to the hostname of the OpenCollector,
|
|
#
|
|
# If you are running it locally, kindly change it to the correct
|
|
# hostname such as `localhost`, `0.0.0.0` and etc.
|
|
exporter: {:opentelemetry_exporter, %{endpoints: [{:http, 'otel', 55681, []}]}}
|
|
}
|