Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
**Internal**:

- Remove unknown debug image variants in errors. ([#5962](https://github.com/getsentry/relay/pull/5962))
- Remove support for dynamic sampling reservoir rules. ([#5988](https://github.com/getsentry/relay/pull/5988))
- Bump `sentry-conventions` to 0.6.0-4. ([#5944](https://github.com/getsentry/relay/pull/5944))
- Bump `sqlparser` to 0.62. ([#5964](https://github.com/getsentry/relay/pull/5964))
- Enable compression for forwarded uploads. ([#5965](https://github.com/getsentry/relay/pull/5965))
Expand Down
3 changes: 0 additions & 3 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4887,7 +4887,6 @@ dependencies = [
name = "relay-sampling"
version = "26.4.2"
dependencies = [
"anyhow",
"chrono",
"insta",
"rand 0.9.4",
Expand All @@ -4896,8 +4895,6 @@ dependencies = [
"relay-event-schema",
"relay-log",
"relay-protocol",
"relay-redis",
"relay-statsd",
"serde",
"serde_json",
"similar-asserts",
Expand Down
7 changes: 0 additions & 7 deletions relay-sampling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,17 @@ edition = "2024"
license-file = "../LICENSE.md"
publish = false

[features]
default = []
redis = ["dep:anyhow", "relay-redis/impl", "dep:relay-statsd"]

[lints]
workspace = true

[dependencies]
anyhow = { workspace = true, optional = true }
chrono = { workspace = true, features = ["now"] }
rand = { workspace = true }
rand_pcg = { workspace = true }
relay-base-schema = { workspace = true }
relay-event-schema = { workspace = true }
relay-log = { workspace = true }
relay-protocol = { workspace = true }
relay-redis = { workspace = true, optional = true }
relay-statsd = { workspace = true, optional = true }
serde = { workspace = true }
serde_json = { workspace = true }
uuid = { workspace = true }
Expand Down
9 changes: 0 additions & 9 deletions relay-sampling/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,6 @@ pub enum SamplingValue {
value: f64,
},

/// A reservoir limit.
///
/// A rule with a reservoir limit will be sampled if the rule have been matched fewer times
/// than the limit.
Reservoir {
/// The limit of how many times this rule will be sampled before this rule is invalid.
limit: i64,
},

/// A minimum sample rate.
///
/// The sample rate specified in the rule will be used as a minimum over the otherwise used
Expand Down
Loading
Loading