Popularity
4.1
Declining
Activity
0.0
Stable
34
4
2
Monthly Downloads: 0
Programming language: Elixir
License: MIT License
Flames alternatives and similar packages
Based on the "Errors and Exception Handling" category.
Alternatively, view Flames alternatives based on common mentions on social networks and blogs.
Do you think we are missing an alternative of Flames or a related project?
Popular Comparisons
README
Flames

[Example Dashboard](example.png)
Installation
The package can be installed as:
- Add
flames
to your list of dependencies inmix.exs
:
def deps do
[{:flames, "~> 0.4.0"}]
end
- Add configuration to tell
flames
what your repository and (optional) Phoenix Endpoint modules are as well as adding it as a Logger backend:
config :flames,
repo: MyPhoenixApp.Repo,
endpoint: MyPhoenixApp.Endpoint,
table: "errors" # Optional, defaults to "errors"
config :logger,
backends: [:console, Flames.Logger]
- Add the following migration:
defmodule MyApp.Repo.Migrations.CreateFlamesTable do
use Ecto.Migration
def change do
# Make sure this table name matches the above configuration
create table(:errors) do
add :message, :text
add :level, :string
add :timestamp, :datetime # or :utc_datetime if you're using the latest ecto
add :alive, :boolean
add :module, :string
add :function, :string
add :file, :string
add :line, :integer
add :count, :integer
add :hash, :string
add :incidents, :json
timestamps
end
create index(:errors, [:hash])
create index(:errors, [:updated_at])
end
end
- (Optional) Add it to your Phoenix Router and Phoenix Endpoint for live updates:
Router (You should place this under a secure pipeline and secure it yourself)
forward "/errors", Flames.Web
Endpoint (Make sure this is the full path, adding /socket
to the end)
socket "/errors/socket", Flames.UserSocket
Visit http://localhost:4000/errors (or wherever you mounted it) to see a live stream of errors.