Skip to content

Commit

Permalink
deploy: ea9b631
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Sep 20, 2024
1 parent 57208e4 commit de1314a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
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.9.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
2 changes: 1 addition & 1 deletion relay_config/struct.Config.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
</div></details><details class="toggle method-toggle" open><summary><section id="method.cogs_enabled" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2486-2488">source</a><h4 class="code-header">pub fn <a href="#method.cogs_enabled" class="fn">cogs_enabled</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.81.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Whether COGS measurements are enabled.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.cogs_max_queue_size" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2491-2493">source</a><h4 class="code-header">pub fn <a href="#method.cogs_max_queue_size" class="fn">cogs_max_queue_size</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.81.0/std/primitive.u64.html">u64</a></h4></section></summary><div class="docblock"><p>Maximum amount of COGS measurements buffered in memory.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.cogs_relay_resource_id" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2496-2498">source</a><h4 class="code-header">pub fn <a href="#method.cogs_relay_resource_id" class="fn">cogs_relay_resource_id</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.81.0/std/primitive.str.html">str</a></h4></section></summary><div class="docblock"><p>Resource ID to use for Relay COGS measurements.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.permissive_aggregator_config" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2504-2555">source</a><h4 class="code-header">pub fn <a href="#method.permissive_aggregator_config" class="fn">permissive_aggregator_config</a>(&amp;self) -&gt; AggregatorConfig</h4></section></summary><div class="docblock"><p>Creates an [<code>AggregatorConfig</code>] that is compatible with every other aggregator.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.permissive_aggregator_config" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2504-2555">source</a><h4 class="code-header">pub fn <a href="#method.permissive_aggregator_config" class="fn">permissive_aggregator_config</a>(&amp;self) -&gt; <a class="struct" href="../relay_metrics/aggregator/struct.AggregatorConfig.html" title="struct relay_metrics::aggregator::AggregatorConfig">AggregatorConfig</a></h4></section></summary><div class="docblock"><p>Creates an <a href="../relay_metrics/aggregator/struct.AggregatorConfig.html" title="struct relay_metrics::aggregator::AggregatorConfig"><code>AggregatorConfig</code></a> that is compatible with every other aggregator.</p>
<p>A lossless aggregator can be put in front of any of the configured aggregators without losing data that the configured aggregator would keep.
This is useful for pre-aggregating metrics together in a single aggregator instance.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.default_aggregator_config" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2558-2560">source</a><h4 class="code-header">pub fn <a href="#method.default_aggregator_config" class="fn">default_aggregator_config</a>(&amp;self) -&gt; &amp;<a class="struct" href="aggregator/struct.AggregatorServiceConfig.html" title="struct relay_config::aggregator::AggregatorServiceConfig">AggregatorServiceConfig</a></h4></section></summary><div class="docblock"><p>Returns configuration for the default metrics aggregator.</p>
Expand Down
Loading

0 comments on commit de1314a

Please sign in to comment.