Skip to content

Commit

Permalink
remove logflare
Browse files Browse the repository at this point in the history
  • Loading branch information
dnsbty committed Apr 21, 2024
1 parent 1661d87 commit 0a05884
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
21 changes: 0 additions & 21 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -67,27 +67,6 @@ case config_env() do
password: admin_password
]

config :logger,
level: :info,
backends: [LogflareLogger.HttpBackend]

logflare_api_key =
System.get_env("LOGFLARE_API_KEY") ||
raise """
environment variable LOGFLARE_API_KEY is missing.
"""

logflare_source_id =
System.get_env("LOGFLARE_SOURCE_ID") ||
raise """
environment variable LOGFLARE_SOURCE_ID is missing.
"""

config :logflare_logger_backend,
api_key: logflare_api_key,
source_id: logflare_source_id,
metadata: :all

sentry_dsn =
System.get_env("SENTRY_DSN") ||
raise """
Expand Down
4 changes: 1 addition & 3 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ defmodule Level10.MixProject do
# {:delta_crdt, "~> 0.6.3"},
{:delta_crdt, github: "dnsbty/delta_crdt_ex", override: true},
{:dialyxir, "~> 1.4", only: [:dev], runtime: false},
# Fixes a compilation issue with Ecto <- Etso <- Logflare
{:ecto, "~> 3.10", override: true},
{:ecto, "~> 3.10"},
{:esbuild, "~> 0.4", runtime: Mix.env() == :dev},
{:finch, "~> 0.14", override: true},
{:gettext, "~> 0.18"},
Expand All @@ -56,7 +55,6 @@ defmodule Level10.MixProject do
{:horde, "~> 0.9.0"},
{:jason, "~> 1.2"},
{:libcluster, "~> 3.2"},
{:logflare_logger_backend, "~> 0.11.0"},
{:phoenix, "~> 1.7-rc.0", override: true},
{:phoenix_html, "~> 3.2"},
{:phoenix_live_dashboard, "~> 0.7"},
Expand Down

0 comments on commit 0a05884

Please # to comment.