Skip to content

Commit

Permalink
deploy: d8e6bbc
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbayer committed Sep 20, 2024
1 parent f4cb25b commit 025d250
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion relay_monitors/fn.process_check_in.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!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="Normalizes a monitor check-in payload."><title>process_check_in in relay_monitors - 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_monitors" 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 fn"><!--[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_monitors/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_monitors/index.html"><img src="https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png" alt="logo"></a><h2><a href="../relay_monitors/index.html">relay_monitors</a><span class="version">24.9.0</span></h2></div><div class="sidebar-elems"></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>Function <a href="index.html">relay_monitors</a>::<wbr><a class="fn" href="#">process_check_in</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_monitors/lib.rs.html#187-228">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn process_check_in(
payload: &amp;[<a class="primitive" href="https://doc.rust-lang.org/1.81.0/std/primitive.u8.html">u8</a>],
project_id: ProjectId,
project_id: <a class="struct" href="../relay_base_schema/project/struct.ProjectId.html" title="struct relay_base_schema::project::ProjectId">ProjectId</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.81.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="struct.ProcessedCheckInResult.html" title="struct relay_monitors::ProcessedCheckInResult">ProcessedCheckInResult</a>, <a class="enum" href="enum.ProcessCheckInError.html" title="enum relay_monitors::ProcessCheckInError">ProcessCheckInError</a>&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Normalizes a monitor check-in payload.</p>
</div></details></section></div></main></body></html>
12 changes: 11 additions & 1 deletion src/relay_server/services/processor/span/processing.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,11 @@
<a href="#1165" id="1165">1165</a>
<a href="#1166" id="1166">1166</a>
<a href="#1167" id="1167">1167</a>
<a href="#1168" id="1168">1168</a>
<a href="#1169" id="1169">1169</a>
<a href="#1170" id="1170">1170</a>
<a href="#1171" id="1171">1171</a>
<a href="#1172" id="1172">1172</a>
</pre></div><pre class="rust"><code><span class="doccomment">//! Contains the processing-only functionality.

</span><span class="kw">use </span>std::error::Error;
Expand Down Expand Up @@ -1259,7 +1264,12 @@

<span class="kw">if let </span><span class="prelude-val">Err</span>(e) = normalize(<span class="kw-2">&amp;mut </span>annotated_span, normalize_span_config.clone()) {
<span class="macro">relay_log::debug!</span>(<span class="string">"failed to normalize span: {}"</span>, e);
<span class="kw">return </span>ItemAction::Drop(Outcome::Invalid(DiscardReason::Internal));
<span class="kw">return </span>ItemAction::Drop(Outcome::Invalid(<span class="kw">match </span>e {
ProcessingError::InvalidTransaction | ProcessingError::InvalidTimestamp =&gt; {
DiscardReason::InvalidSpan
}
<span class="kw">_ </span>=&gt; DiscardReason::Internal,
}));
};

<span class="kw">if let </span><span class="prelude-val">Some</span>(span) = annotated_span.value() {
Expand Down

0 comments on commit 025d250

Please sign in to comment.