Hello everyone, I am trying to setup sentry (io.se...
# questions
v
Hello everyone, I am trying to setup sentry (io.sentrysentry1.7.3) on Grails 2.5.6 as env based. I am only getting level, URL, server_name, user and stack trace but others like request payload and tags not appearing in Sentry. Any suggestions?
Bootstrap.groovy
Copy code
println "${new Date()} Sentry Service"
def sentryDsn = grailsApplication.config.sentry.dsn
Sentry.init(sentryDsn)
Config.groovy
Copy code
environments {
    developement {
        sentry {
            dsn = '<https://a:b@c.ingest.sentry.io/1234567890>'
            environment = 'test'
            tags = [environment: 'test']
        }
    }
}
Sentry
Copy code
curl \
 -X POST \
 --compressed \
 -H "Accept: application/json" \
 --data "{}" \
 "<http://test-aurora.com/Book/save>"
m
Hi, even we no longer support the plugin, you may find some inspiration there https://github.com/agorapulse/grails-sentry
👍 1
v
Oh I see. Thanks
What about the higher version of sentry that can have Java 8 support?
s
And you really should move from Grails 2.x to something more recent.
m
@Veeramanikandan S there’s been quite a lot of breaking changes in latest Sentry releases so it’s difficult to say
v
@musketyr @sbglasius Thanks. I completely agree with you. But we just recently moved from 2.3.4 to 2.5.6 for must MySQL 5,7 -> 8.0 migration and its live product. So looking for solution without any major version upgrades.