- Add optional support for sentry.io as per DCOS-9953
Details
Need a token
Diff Detail
- Repository
- rMARATHON marathon
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
LGTM.
I just need a little clarification.
src/main/scala/mesosphere/marathon/DebugConf.scala | ||
---|---|---|
142–153 | Just so I get this right. You describe the logger which will be used when we run, right? Does this write a logger.xml config then? |
LGTM.
Users have to opt-in by providing a sentry token - good.
Are there plans for using this in DC/OS?
And since this is not a core functionality of Marathon - do you think we can make this a plugin?
Uhh, any plugin can do something like this.
Thomas wants to put it into the soak cluster ASAP. The intention is to share the token with some customers and/or let them use their own.
In talking with him, I do think we're doing the right thing by not having it be a plugin (which is frankly silly as logback already has a "plugin interface" that any plugin today can get to), instead we're on a path where we are explicitly building in "please pass the sentry token in so we can get exception reporting"
src/main/scala/mesosphere/marathon/DebugConf.scala | ||
---|---|---|
142–153 | this is the logback API that is expressed in the xml, but it's not writing any xml. |
Just so I get this right. You describe the logger which will be used when we run, right? Does this write a logger.xml config then?