monterail / guidelines

[DEPRECATED] We are Ruby on Rails experts from Poland. Think hussars. Solid & winged. These are our guidelines.
71 stars 17 forks source link

Add environment tag in raven config #161

Closed teamon closed 11 years ago

teamon commented 11 years ago
Raven.configure do |config|
  config.dsn = 'https://some-dsn-here'
  config.tags = { environment: Rails.env }
end

Sentry FTW!

Why? - Because you really really really want to distinguish between different environments :)

teamon commented 11 years ago

ping @Ostrzy @chytreg @sheerun @szajbus @jandudulski

jandudulski commented 11 years ago

Write why even it's obvious ;)

:+1:

szajbus commented 11 years ago

:heart_decoration:

sheerun commented 11 years ago

ok

chytreg commented 11 years ago

@teamon pull request or commit which will close it!