diff --git a/examples/basic_phoenix_ecto/config/runtime.exs b/examples/basic_phoenix_ecto/config/runtime.exs index 862915d..9bd56be 100644 --- a/examples/basic_phoenix_ecto/config/runtime.exs +++ b/examples/basic_phoenix_ecto/config/runtime.exs @@ -59,7 +59,7 @@ if config_env() == :prod do 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:4318"]}} @@ -84,15 +84,15 @@ if config_env() == :prod do # } } - # Example configuration for Lightstep.com, for more refers to: - # https://github.com/open-telemetry/opentelemetry-erlang/tree/main/apps/opentelemetry_exporter#application-environment - # config :opentelemetry_exporter, - # # You can also configure the compression type for exporting traces. - # oltp_traces_compression: :gzip, - # otlp_traces_endpoint: "https://ingest.lightstep.com:443/traces/otlp/v0.9", - # otlp_headers: [ - # {"lightstep-access-token", System.get_env("LIGHTSTEP_ACCESS_TOKEN")} - # ] + # Example configuration for Lightstep.com, for more refers to: + # https://github.com/open-telemetry/opentelemetry-erlang/tree/main/apps/opentelemetry_exporter#application-environment + # config :opentelemetry_exporter, + # # You can also configure the compression type for exporting traces. + # oltp_traces_compression: :gzip, + # otlp_traces_endpoint: "https://ingest.lightstep.com:443/traces/otlp/v0.9", + # otlp_headers: [ + # {"lightstep-access-token", System.get_env("LIGHTSTEP_ACCESS_TOKEN")} + # ] # ## Using releases # diff --git a/examples/basic_phoenix_ecto/lib/demo_web/router.ex b/examples/basic_phoenix_ecto/lib/demo_web/router.ex index 796ffc2..840a0bc 100644 --- a/examples/basic_phoenix_ecto/lib/demo_web/router.ex +++ b/examples/basic_phoenix_ecto/lib/demo_web/router.ex @@ -20,7 +20,6 @@ defmodule DemoWeb.Router do get "/", PageController, :index resources "/posts", PostController - live "/users", UserLive.Index, :index live "/users/new", UserLive.Index, :new live "/users/:id/edit", UserLive.Index, :edit diff --git a/examples/basic_phoenix_ecto/mix.exs b/examples/basic_phoenix_ecto/mix.exs index ca8bdb7..2392dd5 100644 --- a/examples/basic_phoenix_ecto/mix.exs +++ b/examples/basic_phoenix_ecto/mix.exs @@ -49,7 +49,6 @@ defmodule Demo.MixProject do {:gettext, "~> 0.18"}, {:jason, "~> 1.2"}, {:plug_cowboy, "~> 2.5"}, - {:opentelemetry_phoenix, "~> 1.0.0-rc.7"}, {:opentelemetry_ecto, "~> 1.0.0-rc.5"}, {:opentelemetry_exporter, "~> 1.0.0"}