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:
Yordis Prieto 2022-11-15 18:25:04 -05:00 committed by GitHub
parent 0e6a776ffb
commit 0c509f4ebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 12 deletions

View File

@ -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
#

View File

@ -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

View File

@ -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"}