Kai b4046eb073
Port example from opentelemetry-examples (#31)
* 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>
2021-11-23 13:15:59 -07:00

19 lines
211 B
Elixir

defmodule BasicElixir do
@moduledoc """
Documentation for BasicElixir.
"""
@doc """
Hello world.
## Examples
iex> BasicElixir.hello()
:world
"""
def hello do
:world
end
end