HomeMesosphereNo notifications. 4 unresolved issues.

Add support for sentry.io
ClosedAll Users

Authored by jasongilanfarr on Sep 27 2016, 2:15 AM.

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.
jasongilanfarr retitled this revision from to Add support for sentry.io.Sep 27 2016, 2:15 AM
jasongilanfarr updated this object.
jasongilanfarr edited the test plan for this revision. (Show Details)
jasongilanfarr added a subscriber: marathon-team.

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?

jdef added a subscriber: jdef.Sep 27 2016, 12:31 PM

This feature sounds like it would be a great use case for a plugin

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?

jasongilanfarr marked an inline comment as done.Sep 27 2016, 5:21 PM
In D25#282, @jdef wrote:

This feature sounds like it would be a great use case for a plugin

Uhh, any plugin can do something like this.

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?

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.

Closed by commit rMARATHONa4f7b7571f07: Add support for sentry.io (#4490) (authored by jasongilanfarr, committed by GitHub <noreply@github.com>). · Explain WhySep 27 2016, 7:22 PM
This revision was automatically updated to reflect the committed changes.
jasongilanfarr marked an inline comment as done.