chore: ran formatter (#123)
* chore: ran formatter * Delete .formatter.exs Co-authored-by: Bryan Naegele <bryannaegele@users.noreply.github.com>
This commit is contained in:
parent
0e6a776ffb
commit
0c509f4ebc
|
@ -59,7 +59,7 @@ if config_env() == :prod do
|
||||||
otel_batch_processor: %{
|
otel_batch_processor: %{
|
||||||
# Using `otel` here since we are starting through docker-compose where
|
# Using `otel` here since we are starting through docker-compose where
|
||||||
# otel refer to the hostname of the OpenCollector,
|
# otel refer to the hostname of the OpenCollector,
|
||||||
#
|
#
|
||||||
# If you are running it locally, kindly change it to the correct
|
# If you are running it locally, kindly change it to the correct
|
||||||
# hostname such as `localhost`, `0.0.0.0` and etc.
|
# hostname such as `localhost`, `0.0.0.0` and etc.
|
||||||
exporter: {:opentelemetry_exporter, %{endpoints: ["http://otel:4318"]}}
|
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:
|
# Example configuration for Lightstep.com, for more refers to:
|
||||||
# https://github.com/open-telemetry/opentelemetry-erlang/tree/main/apps/opentelemetry_exporter#application-environment
|
# https://github.com/open-telemetry/opentelemetry-erlang/tree/main/apps/opentelemetry_exporter#application-environment
|
||||||
# config :opentelemetry_exporter,
|
# config :opentelemetry_exporter,
|
||||||
# # You can also configure the compression type for exporting traces.
|
# # You can also configure the compression type for exporting traces.
|
||||||
# oltp_traces_compression: :gzip,
|
# oltp_traces_compression: :gzip,
|
||||||
# otlp_traces_endpoint: "https://ingest.lightstep.com:443/traces/otlp/v0.9",
|
# otlp_traces_endpoint: "https://ingest.lightstep.com:443/traces/otlp/v0.9",
|
||||||
# otlp_headers: [
|
# otlp_headers: [
|
||||||
# {"lightstep-access-token", System.get_env("LIGHTSTEP_ACCESS_TOKEN")}
|
# {"lightstep-access-token", System.get_env("LIGHTSTEP_ACCESS_TOKEN")}
|
||||||
# ]
|
# ]
|
||||||
|
|
||||||
# ## Using releases
|
# ## Using releases
|
||||||
#
|
#
|
||||||
|
|
|
@ -20,7 +20,6 @@ defmodule DemoWeb.Router do
|
||||||
get "/", PageController, :index
|
get "/", PageController, :index
|
||||||
resources "/posts", PostController
|
resources "/posts", PostController
|
||||||
|
|
||||||
|
|
||||||
live "/users", UserLive.Index, :index
|
live "/users", UserLive.Index, :index
|
||||||
live "/users/new", UserLive.Index, :new
|
live "/users/new", UserLive.Index, :new
|
||||||
live "/users/:id/edit", UserLive.Index, :edit
|
live "/users/:id/edit", UserLive.Index, :edit
|
||||||
|
|
|
@ -49,7 +49,6 @@ defmodule Demo.MixProject do
|
||||||
{:gettext, "~> 0.18"},
|
{:gettext, "~> 0.18"},
|
||||||
{:jason, "~> 1.2"},
|
{:jason, "~> 1.2"},
|
||||||
{:plug_cowboy, "~> 2.5"},
|
{:plug_cowboy, "~> 2.5"},
|
||||||
|
|
||||||
{:opentelemetry_phoenix, "~> 1.0.0-rc.7"},
|
{:opentelemetry_phoenix, "~> 1.0.0-rc.7"},
|
||||||
{:opentelemetry_ecto, "~> 1.0.0-rc.5"},
|
{:opentelemetry_ecto, "~> 1.0.0-rc.5"},
|
||||||
{:opentelemetry_exporter, "~> 1.0.0"}
|
{:opentelemetry_exporter, "~> 1.0.0"}
|
||||||
|
|
Loading…
Reference in New Issue