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

Problem: Sentry reporting didn't have release information #712

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/aleph/vm/orchestrator/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from aleph.vm.conf import ALLOW_DEVELOPER_SSH_KEYS, make_db_url, settings
from aleph.vm.models import VmExecution
from aleph.vm.pool import VmPool
from aleph.vm.version import get_version_from_apt, get_version_from_git
from aleph.vm.version import __version__, get_version_from_apt, get_version_from_git

Check warning on line 23 in src/aleph/vm/orchestrator/cli.py

View check run for this annotation

Codecov / codecov/patch

src/aleph/vm/orchestrator/cli.py#L23

Added line #L23 was not covered by tests

from . import metrics, supervisor
from .pubsub import PubSub
Expand Down Expand Up @@ -325,6 +325,7 @@
# of transactions for performance monitoring.
# We recommend adjusting this value in production.
traces_sample_rate=1.0,
release=__version__,
)
sentry_sdk.set_context(
"version",
Expand Down