Skip to content

Commit

Permalink
deploy: 368d69e
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Jul 8, 2024
1 parent 339af40 commit 8465e0f
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 116 deletions.
8 changes: 4 additions & 4 deletions relay_config/struct.Config.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,15 @@
</div></details><details class="toggle method-toggle" open><summary><section id="method.cogs_granularity" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2336-2338">source</a><h4 class="code-header">pub fn <a href="#method.cogs_granularity" class="fn">cogs_granularity</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.79.0/core/time/struct.Duration.html" title="struct core::time::Duration">Duration</a></h4></section></summary><div class="docblock"><p>Granularity for COGS measurements.</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#2341-2343">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.79.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#2346-2348">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.79.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#2354-2402">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>
</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#2354-2402">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>
<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#2405-2407">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="../relay_metrics/aggregatorservice/struct.AggregatorServiceConfig.html" title="struct relay_metrics::aggregatorservice::AggregatorServiceConfig">AggregatorServiceConfig</a></h4></section></summary><div class="docblock"><p>Returns configuration for the default metrics <a href="../relay_metrics/aggregatorservice/enum.Aggregator.html" title="enum relay_metrics::aggregatorservice::Aggregator">aggregator</a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.secondary_aggregator_configs" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2410-2412">source</a><h4 class="code-header">pub fn <a href="#method.secondary_aggregator_configs" class="fn">secondary_aggregator_configs</a>(&amp;self) -&gt; &amp;<a class="struct" href="https://doc.rust-lang.org/1.79.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../relay_metrics/router/struct.ScopedAggregatorConfig.html" title="struct relay_metrics::router::ScopedAggregatorConfig">ScopedAggregatorConfig</a>&gt;</h4></section></summary><div class="docblock"><p>Returns configuration for non-default metrics <a href="../relay_metrics/aggregatorservice/enum.Aggregator.html" title="enum relay_metrics::aggregatorservice::Aggregator">aggregators</a>.</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#2405-2407">source</a><h4 class="code-header">pub fn <a href="#method.default_aggregator_config" class="fn">default_aggregator_config</a>(&amp;self) -&gt; &amp;AggregatorServiceConfig</h4></section></summary><div class="docblock"><p>Returns configuration for the default metrics <a href="relay_metrics::Aggregator">aggregator</a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.secondary_aggregator_configs" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2410-2412">source</a><h4 class="code-header">pub fn <a href="#method.secondary_aggregator_configs" class="fn">secondary_aggregator_configs</a>(&amp;self) -&gt; &amp;<a class="struct" href="https://doc.rust-lang.org/1.79.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;ScopedAggregatorConfig&gt;</h4></section></summary><div class="docblock"><p>Returns configuration for non-default metrics <a href="relay_metrics::Aggregator">aggregators</a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.aggregator_config_for" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2415-2422">source</a><h4 class="code-header">pub fn <a href="#method.aggregator_config_for" class="fn">aggregator_config_for</a>(
&amp;self,
namespace: <a class="enum" href="../relay_base_schema/metrics/mri/enum.MetricNamespace.html" title="enum relay_base_schema::metrics::mri::MetricNamespace">MetricNamespace</a>
) -&gt; &amp;<a class="struct" href="../relay_metrics/aggregatorservice/struct.AggregatorServiceConfig.html" title="struct relay_metrics::aggregatorservice::AggregatorServiceConfig">AggregatorServiceConfig</a></h4></section></summary><div class="docblock"><p>Returns aggregator config for a given metrics namespace.</p>
) -&gt; &amp;AggregatorServiceConfig</h4></section></summary><div class="docblock"><p>Returns aggregator config for a given metrics namespace.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.static_relays" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2425-2427">source</a><h4 class="code-header">pub fn <a href="#method.static_relays" class="fn">static_relays</a>(&amp;self) -&gt; &amp;<a class="struct" href="https://doc.rust-lang.org/1.79.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="type" href="../relay_auth/type.RelayId.html" title="type relay_auth::RelayId">RelayId</a>, <a class="struct" href="struct.RelayInfo.html" title="struct relay_config::RelayInfo">RelayInfo</a>&gt;</h4></section></summary><div class="docblock"><p>Return the statically configured Relays.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.accept_unknown_items" class="method"><a class="src rightside" href="../src/relay_config/config.rs.html#2430-2433">source</a><h4 class="code-header">pub fn <a href="#method.accept_unknown_items" class="fn">accept_unknown_items</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.79.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <code>true</code> if unknown items should be accepted and forwarded.</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-Debug-for-Config" class="impl"><a class="src rightside" href="../src/relay_config/config.rs.html#1482-1489">source</a><a href="#impl-Debug-for-Config" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.Config.html" title="struct relay_config::Config">Config</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/relay_config/config.rs.html#1483-1488">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.79.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.79.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.79.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.79.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-Config" class="impl"><a class="src rightside" href="../src/relay_config/config.rs.html#2436-2444">source</a><a href="#impl-Default-for-Config" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.Config.html" title="struct relay_config::Config">Config</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../src/relay_config/config.rs.html#2437-2443">source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.79.0/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -&gt; Self</h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.79.0/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Config" class="impl"><a href="#impl-Freeze-for-Config" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Config.html" title="struct relay_config::Config">Config</a></h3></section><section id="impl-RefUnwindSafe-for-Config" class="impl"><a href="#impl-RefUnwindSafe-for-Config" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Config.html" title="struct relay_config::Config">Config</a></h3></section><section id="impl-Send-for-Config" class="impl"><a href="#impl-Send-for-Config" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Config.html" title="struct relay_config::Config">Config</a></h3></section><section id="impl-Sync-for-Config" class="impl"><a href="#impl-Sync-for-Config" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Config.html" title="struct relay_config::Config">Config</a></h3></section><section id="impl-Unpin-for-Config" class="impl"><a href="#impl-Unpin-for-Config" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Config.html" title="struct relay_config::Config">Config</a></h3></section><section id="impl-UnwindSafe-for-Config" class="impl"><a href="#impl-UnwindSafe-for-Config" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Config.html" title="struct relay_config::Config">Config</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.79.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.79.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
Expand Down
Loading

0 comments on commit 8465e0f

Please sign in to comment.