Skip to content

Commit

Permalink
chore(relay): Bump relay to 0.9.5 (#83708)
Browse files Browse the repository at this point in the history
This PR updates the relay library and removes default cardinality limits
for profiling metrics, which relay does not interpret anymore.
  • Loading branch information
jjbayer authored Jan 21, 2025
1 parent cad2e63 commit 2bbe4fd
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 29 deletions.
2 changes: 1 addition & 1 deletion requirements-base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ sentry-kafka-schemas>=0.1.128
sentry-ophio==1.0.0
sentry-protos>=0.1.51
sentry-redis-tools>=0.1.7
sentry-relay>=0.9.4
sentry-relay>=0.9.5
sentry-sdk[http2]>=2.19.2
slack-sdk>=3.27.2
snuba-sdk>=3.0.43
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev-frozen.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ sentry-kafka-schemas==0.1.128
sentry-ophio==1.0.0
sentry-protos==0.1.51
sentry-redis-tools==0.1.7
sentry-relay==0.9.4
sentry-relay==0.9.5
sentry-sdk==2.19.2
sentry-usage-accountant==0.0.10
simplejson==3.17.6
Expand Down
2 changes: 1 addition & 1 deletion requirements-frozen.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ sentry-kafka-schemas==0.1.128
sentry-ophio==1.0.0
sentry-protos==0.1.51
sentry-redis-tools==0.1.7
sentry-relay==0.9.4
sentry-relay==0.9.5
sentry-sdk==2.19.2
sentry-usage-accountant==0.0.10
simplejson==3.17.6
Expand Down
1 change: 0 additions & 1 deletion src/sentry/sentry_metrics/use_case_id_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class UseCaseID(Enum):
UseCaseID.SESSIONS,
UseCaseID.SPANS,
UseCaseID.CUSTOM,
UseCaseID.PROFILES,
)

USE_CASE_ID_WRITES_LIMIT_QUOTA_OPTIONS = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
created: '2024-07-19T07:45:13.262472+00:00'
created: '2025-01-21T09:32:06.138893+00:00'
creator: sentry
source: tests/sentry/relay/test_config.py
---
Expand Down Expand Up @@ -128,13 +128,6 @@ config:
window:
granularitySeconds: 600
windowSeconds: 3600
- id: profiles
limit: 10000
namespace: profiles
scope: organization
window:
granularitySeconds: 600
windowSeconds: 3600
performanceScore:
profiles:
- condition:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
created: '2024-04-24T14:41:11.777485+00:00'
created: '2025-01-21T09:32:15.967179+00:00'
creator: sentry
source: tests/sentry/relay/test_config.py
---
Expand Down Expand Up @@ -32,13 +32,6 @@ cardinalityLimits:
window:
granularitySeconds: 400
windowSeconds: 4000
- id: profiles
limit: 60
namespace: profiles
scope: organization
window:
granularitySeconds: 600
windowSeconds: 3600
- id: test3
limit: 90
scope: name
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
created: '2024-05-03T06:37:35.696243+00:00'
created: '2025-01-21T09:32:16.237293+00:00'
creator: sentry
source: tests/sentry/relay/test_config.py
---
Expand Down Expand Up @@ -36,14 +36,6 @@ cardinalityLimits:
window:
granularitySeconds: 400
windowSeconds: 4000
- id: profiles
limit: 60
namespace: profiles
passive: true
scope: organization
window:
granularitySeconds: 600
windowSeconds: 3600
- id: test3
limit: 90
scope: name
Expand Down

0 comments on commit 2bbe4fd

Please sign in to comment.