Skip to content

Commit

Permalink
Merge branch 'release/1.23.0' into feature/prometheus-metrics-rabbitm…
Browse files Browse the repository at this point in the history
…q-worker
  • Loading branch information
catileptic committed Jun 5, 2024
2 parents b64690f + 8c8e531 commit 23ef2c8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.23.0-rc19
current_version = 1.23.0-rc20
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)([-](?P<release>(pre|rc))(?P<build>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion servicelayer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging

__version__ = "1.23.0-rc19"
__version__ = "1.23.0-rc20"

logging.getLogger("boto3").setLevel(logging.WARNING)
logging.getLogger("botocore").setLevel(logging.WARNING)
10 changes: 10 additions & 0 deletions servicelayer/taskqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,16 @@ def __init__(
self.version = version
self.local_queue = Queue()
self.prefetch_count_mapping = prefetch_count_mapping
if settings.SENTRY_DSN:
import sentry_sdk

sentry_sdk.init(
dsn=settings.SENTRY_DSN,
traces_sample_rate=0,
release=settings.SENTRY_RELEASE,
environment=settings.SENTRY_ENVIRONMENT,
send_default_pii=False,
)

def run_prometheus_server(self):
if not settings.PROMETHEUS_ENABLED:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="servicelayer",
version="1.23.0-rc19",
version="1.23.0-rc20",
description="Basic remote service functions for alephdata components",
classifiers=[
"Development Status :: 3 - Alpha",
Expand Down

0 comments on commit 23ef2c8

Please sign in to comment.