Skip to content
Raven is an Elixir client for Sentry (getsentry.com)
Elixir
Latest commit 7adc152 Jun 26, 2016 @vishnevskiy committed on GitHub Merge pull request #7 from thusfresh/master
Update compatibility with recent Elixir and OTP versions

README.md

raven-elixir

Build Status hex.pm version

Getting Started

To use Raven with your projects, edit your mix.exs file and add it as a dependency:

defp deps do
  [{:raven, "~> 0.0.5"}]
end

Overview

The goal of this project is to provide a full-feature Sentry client based on the guidelines in Writing a Client on the Sentry documentation.

However currently it only supports a Logger backend that will parse stacktraces and log them to Sentry.

Example

Example

Usage

Setup the application environment in your config.

config :raven,
  dsn: "https://public:secret@app.getsentry.com/1",
  tags: %{
    env: "production"
  }

Install the Logger backend.

Logger.add_backend(Raven)
Something went wrong with that request. Please try again.