Sentry-ruby: runtime-dyno-metadata

Created on 6 Sep 2018  Â·  10Comments  Â·  Source: getsentry/sentry-ruby

I keep getting warnings from Raven:

[Raven] You are running on Heroku but haven't enabled Dyno Metadata. For Sentry's release detection to work correctly, please run heroku labs:enable runtime-dyno-metadata

When I run heroku labs I can verify that runtime-dyno-metadata is enabled.

Running Rails 5.2.0 and Ruby 2.4.1

bug heroku

Most helpful comment

@andyjeffries I'm in the same boat. Were you able to find a solution to this?

All 10 comments

Are you pushing releases using the Releases API?

screen shot 2018-09-18 at 10 33 36 am Guess I'm going to have to come up with another approach :(

I admit that I'm new to Sentry and I'm fuzzy on what this would mean. I am using a pretty stock setup.

in my Application controller, inside of a before_action block:

Raven.user_context(id: current_user.try(:id), username: current_user.try(:username), email: current_user.try(:email))
Raven.extra_context(params: params.to_unsafe_h, url: request.url)

My sentry.rb initializer is also super vanilla:

Raven.configure do |config|
  config.current_environment = ENV['ENVIRONMENT']
  config.dsn = ENV['SENTRY'] if Rails.env.production?
  config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s)
end

Is there something specific that I could check?

Sorry, I meant Heroku's release API, not Sentry's.

All of my deploys happen via git push commands, with the possible exception of the occasional rollback via Heroku's web interface.

@pjforde1978 Could you kindly either post or email to me ([email protected]):

  • Output of heroku labs --app <your-app-name>
  • Get a bash console with heroku run bash --app <your-app-name>, then paste me the output of env | grep HEROKU_APP and env | grep HEROKU_SLUG

It seems as though your domain is having a rough day...

sentry

Whoops, my bad. Our mail is on sentry.io now. Please email to [email protected].

What do we need to do now that this lab no longer exists?

$ heroku labs:enable runtime-dyno-metadata
 â–¸    Couldn't find that feature.

@andyjeffries I'm in the same boat. Were you able to find a solution to this?

Was this page helpful?
0 / 5 - 0 ratings