#heroku integration and Release tracking

1 messages · Page 1 of 1 (latest)

lusty arrow
#

Hi there, we are hosted on Heroku, and we set up Sentry manually a while back and have been building out our account and preferences, etc. We've got our backend and front-end projects all collecting observations, etc. We are trying to set up Releases. Just learned that Heroku and Sentry have an integration. I tried it out, but it created a new instance of Sentry...

Is there a way to have the Heroku integration point to my existing Sentry account? I don't see that being an option, but wanted to ask.

In addition, I read that the integration seems to make access to my git possible, required for the releases propose-version functionality. I'm currently getting this error

error: Could not automatically determine release name:

When running this command in my postbuild script for Heroku.

RELEASE_VERSION=sentry-cli releases propose-version`

Is there a way to get the release version to be based on my repo from Heroku? I think I read somewhere that it will pick up my tags, which would be great.

last copper
#

maybe the HEROKU_SLUG_COMMIT environment variable?

lusty arrow
#

@last copper , ya, I saw that in the docs. So that becomes available when I set up the integration. I guess that will create a sentry account automagically that I just won't use then?

lusty arrow
#

ok, I see now. The env var has nothing to do with sentry. Essentially our use case is to not use the integration at all, and just grab meta data that heroku makes available

last copper
#

If you're using sentry cli I think you can more or less skip using the heroku integration