Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Conversation

@gabrielrussoc
Copy link
Contributor

Let's log an entry to sentry to get a better understanding of how common this error is.

https://sentry.dev.databricks.com/sentry/devbox/issues/93360/events/

}

def sentryCapture(e: Throwable): Unit = {
io.sentry.Sentry.getContext().addTag("whoami", System.getProperty("user.name"))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to reuse this with the Event but for some reason it didn't work. So I ended up adding it on the EventBuilder as well.

new EventBuilder()
.withMessage("Multiple devbox instances running")
.withLevel(Level.WARNING)
.withTag("whoami", System.getProperty("user.name"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add some details about the instances themselves, perhaps creation date and state? We might be able to guess some patterns about the conditions under which we get to this state.

@gabrielrussoc gabrielrussoc force-pushed the log-multiple-devbox-sentry branch from be59403 to f02307d Compare February 1, 2021 14:10
@gabrielrussoc
Copy link
Contributor Author

@gabrielrussoc gabrielrussoc merged commit 62c03dc into databricks:master Feb 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants