Skip to content

Commit

Permalink
deploy: 25a3b7a
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbayer committed Sep 10, 2024
1 parent 83f9914 commit a5435b5
Show file tree
Hide file tree
Showing 157 changed files with 2,273 additions and 2,020 deletions.
6 changes: 3 additions & 3 deletions relay_cardinality/enum.Error.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion relay_cardinality/struct.RedisSetLimiter.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Implementation uses Redis sets to keep track of cardinality."><title>RedisSetLimiter in relay_cardinality - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-c5d6553a23f1e5a6.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="relay_cardinality" data-themes="" data-resource-suffix="" data-rustdoc-version="1.81.0 (eeb90cda1 2024-09-04)" data-channel="1.81.0" data-search-js="search-d234aafac6c221dd.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-d2fab2bf619172d3.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../relay_cardinality/index.html"><img src="https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../relay_cardinality/index.html"><img src="https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png" alt="logo"></a><h2><a href="../relay_cardinality/index.html">relay_cardinality</a><span class="version">24.8.0</span></h2></div><h2 class="location"><a href="#">RedisSetLimiter</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Limiter-for-RedisSetLimiter">Limiter</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-RedisSetLimiter">!Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-RedisSetLimiter">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-RedisSetLimiter">!UnwindSafe</a></li><li><a href="#impl-Send-for-RedisSetLimiter">Send</a></li><li><a href="#impl-Sync-for-RedisSetLimiter">Sync</a></li><li><a href="#impl-Unpin-for-RedisSetLimiter">Unpin</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In crate relay_cardinality</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="index.html">relay_cardinality</a>::<wbr><a class="struct" href="#">RedisSetLimiter</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/relay_cardinality/redis/limiter.rs.html#28-36">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct RedisSetLimiter { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Implementation uses Redis sets to keep track of cardinality.</p>
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-RedisSetLimiter" class="impl"><a class="src rightside" href="../src/relay_cardinality/redis/limiter.rs.html#39-101">source</a><a href="#impl-RedisSetLimiter" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.RedisSetLimiter.html" title="struct relay_cardinality::RedisSetLimiter">RedisSetLimiter</a></h3></section></summary><div class="docblock"><p>A Redis based limiter using Redis sets to track cardinality and membership.</p>
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/relay_cardinality/redis/limiter.rs.html#41-51">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(options: <a class="struct" href="struct.RedisSetLimiterOptions.html" title="struct relay_cardinality::RedisSetLimiterOptions">RedisSetLimiterOptions</a>, redis: <a class="struct" href="../relay_redis/real/struct.RedisPool.html" title="struct relay_redis::real::RedisPool">RedisPool</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Creates a new <a href="struct.RedisSetLimiter.html" title="struct relay_cardinality::RedisSetLimiter"><code>RedisSetLimiter</code></a>.</p>
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/relay_cardinality/redis/limiter.rs.html#41-51">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(options: <a class="struct" href="struct.RedisSetLimiterOptions.html" title="struct relay_cardinality::RedisSetLimiterOptions">RedisSetLimiterOptions</a>, redis: RedisPool) -&gt; Self</h4></section></summary><div class="docblock"><p>Creates a new <a href="struct.RedisSetLimiter.html" title="struct relay_cardinality::RedisSetLimiter"><code>RedisSetLimiter</code></a>.</p>
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Limiter-for-RedisSetLimiter" class="impl"><a class="src rightside" href="../src/relay_cardinality/redis/limiter.rs.html#103-190">source</a><a href="#impl-Limiter-for-RedisSetLimiter" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="limiter/trait.Limiter.html" title="trait relay_cardinality::limiter::Limiter">Limiter</a> for <a class="struct" href="struct.RedisSetLimiter.html" title="struct relay_cardinality::RedisSetLimiter">RedisSetLimiter</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.check_cardinality_limits" class="method trait-impl"><a class="src rightside" href="../src/relay_cardinality/redis/limiter.rs.html#104-189">source</a><a href="#method.check_cardinality_limits" class="anchor">§</a><h4 class="code-header">fn <a href="limiter/trait.Limiter.html#tymethod.check_cardinality_limits" class="fn">check_cardinality_limits</a>&lt;'a, 'b, E, R&gt;(
&amp;self,
scoping: <a class="struct" href="limiter/struct.Scoping.html" title="struct relay_cardinality::limiter::Scoping">Scoping</a>,
Expand Down
4 changes: 2 additions & 2 deletions relay_config/aggregator/struct.AggregatorServiceConfig.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Parameters used for metric aggregation."><title>AggregatorServiceConfig in relay_config::aggregator - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-c5d6553a23f1e5a6.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="relay_config" data-themes="" data-resource-suffix="" data-rustdoc-version="1.81.0 (eeb90cda1 2024-09-04)" data-channel="1.81.0" data-search-js="search-d234aafac6c221dd.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-d2fab2bf619172d3.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../relay_config/index.html"><img src="https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../relay_config/index.html"><img src="https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png" alt="logo"></a><h2><a href="../../relay_config/index.html">relay_config</a><span class="version">24.8.0</span></h2></div><h2 class="location"><a href="#">AggregatorServiceConfig</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.aggregator">aggregator</a></li><li><a href="#structfield.flush_interval_ms">flush_interval_ms</a></li><li><a href="#structfield.max_flush_bytes">max_flush_bytes</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-AggregatorServiceConfig">Clone</a></li><li><a href="#impl-Debug-for-AggregatorServiceConfig">Debug</a></li><li><a href="#impl-Default-for-AggregatorServiceConfig">Default</a></li><li><a href="#impl-Deserialize%3C'de%3E-for-AggregatorServiceConfig">Deserialize&lt;&#x27;de&gt;</a></li><li><a href="#impl-Serialize-for-AggregatorServiceConfig">Serialize</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-AggregatorServiceConfig">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-AggregatorServiceConfig">RefUnwindSafe</a></li><li><a href="#impl-Send-for-AggregatorServiceConfig">Send</a></li><li><a href="#impl-Sync-for-AggregatorServiceConfig">Sync</a></li><li><a href="#impl-Unpin-for-AggregatorServiceConfig">Unpin</a></li><li><a href="#impl-UnwindSafe-for-AggregatorServiceConfig">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-CloneToUninit-for-T">CloneToUninit</a></li><li><a href="#impl-DeserializeOwned-for-T">DeserializeOwned</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-Same-for-T">Same</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In relay_config::aggregator</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="../index.html">relay_config</a>::<wbr><a href="index.html">aggregator</a>::<wbr><a class="struct" href="#">AggregatorServiceConfig</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/relay_config/aggregator.rs.html#10-28">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct AggregatorServiceConfig {
pub aggregator: AggregatorConfig,
pub aggregator: <a class="struct" href="../../relay_metrics/aggregator/struct.AggregatorConfig.html" title="struct relay_metrics::aggregator::AggregatorConfig">AggregatorConfig</a>,
pub max_flush_bytes: <a class="primitive" href="https://doc.rust-lang.org/1.81.0/std/primitive.usize.html">usize</a>,
pub flush_interval_ms: <a class="primitive" href="https://doc.rust-lang.org/1.81.0/std/primitive.u64.html">u64</a>,
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Parameters used for metric aggregation.</p>
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.aggregator" class="structfield section-header"><a href="#structfield.aggregator" class="anchor field">§</a><code>aggregator: AggregatorConfig</code></span><div class="docblock"><p>The config used by the internal aggregator.</p>
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.aggregator" class="structfield section-header"><a href="#structfield.aggregator" class="anchor field">§</a><code>aggregator: <a class="struct" href="../../relay_metrics/aggregator/struct.AggregatorConfig.html" title="struct relay_metrics::aggregator::AggregatorConfig">AggregatorConfig</a></code></span><div class="docblock"><p>The config used by the internal aggregator.</p>
</div><span id="structfield.max_flush_bytes" class="structfield section-header"><a href="#structfield.max_flush_bytes" class="anchor field">§</a><code>max_flush_bytes: <a class="primitive" href="https://doc.rust-lang.org/1.81.0/std/primitive.usize.html">usize</a></code></span><div class="docblock"><p>The approximate maximum number of bytes submitted within one flush cycle.</p>
<p>This controls how big flushed batches of buckets get, depending on the number of buckets,
the cumulative length of their keys, and the number of raw values. Since final serialization
Expand Down
Loading

0 comments on commit a5435b5

Please sign in to comment.