Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sentry session tracking #4157

Merged
merged 12 commits into from Sep 6, 2022
4 changes: 4 additions & 0 deletions wandb/util.py
Expand Up @@ -254,6 +254,10 @@ def get(key: str) -> Any:
if value is not None and value != "":
scope.set_tag(tag, value)

# Track session so we can get metrics about error free rate
if sentry_hub:
sentry_hub.start_session()
dmitryduev marked this conversation as resolved.
Show resolved Hide resolved


def vendor_setup() -> Callable:
"""This enables us to use the vendor directory for packages we don't depend on
Expand Down