Skip to content

Commit

Permalink
deploy: d8e6b83
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Sep 14, 2023
1 parent e532bd9 commit c766592
Show file tree
Hide file tree
Showing 28 changed files with 105 additions and 42 deletions.
2 changes: 2 additions & 0 deletions dev/catapult-client/Catapult_client/Backend/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Backend (catapult-client.Catapult_client.Backend)</title><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">catapult-client</a> &#x00BB; <a href="../index.html">Catapult_client</a> &#x00BB; Backend</nav><header class="odoc-preamble"><h1>Module <code><span>Catapult_client.Backend</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-make"><a href="#val-make" class="anchor"></a><code><span><span class="keyword">val</span> make : <span><a href="../Connection/index.html#type-t">Connection.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../catapult/Catapult/index.html#type-backend">Catapult.backend</a></span></code></div></div></div></body></html>
11 changes: 11 additions & 0 deletions dev/catapult-client/Catapult_client/Connection/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Connection (catapult-client.Catapult_client.Connection)</title><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">catapult-client</a> &#x00BB; <a href="../index.html">Catapult_client</a> &#x00BB; Connection</nav><header class="odoc-preamble"><h1>Module <code><span>Catapult_client.Connection</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-default_addr"><a href="#val-default_addr" class="anchor"></a><code><span><span class="keyword">val</span> default_addr : <a href="../../../catapult/Catapult_utils/Endpoint_address/index.html#type-t">Catapult_utils.Endpoint_address.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span>addr:<a href="../../../catapult/Catapult_utils/Endpoint_address/index.html#type-t">Catapult_utils.Endpoint_address.t</a> <span class="arrow">&#45;&gt;</span></span>
<span>?trace_id:string <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-send_msg"><a href="#val-send_msg" class="anchor"></a><code><span><span class="keyword">val</span> send_msg : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span>pid:int <span class="arrow">&#45;&gt;</span></span> <span>now:float <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../catapult/Catapult_utils/Ser/Event/index.html#type-t">Catapult_utils.Ser.Event.t</a> <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-close"><a href="#val-close" class="anchor"></a><code><span><span class="keyword">val</span> close : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-with_"><a href="#val-with_" class="anchor"></a><code><span><span class="keyword">val</span> with_ :
<span>addr:<a href="../../../catapult/Catapult_utils/Endpoint_address/index.html#type-t">Catapult_utils.Endpoint_address.t</a> <span class="arrow">&#45;&gt;</span></span>
<span>?trace_id:string <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<span><span>(<span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span>)</span> <span class="arrow">&#45;&gt;</span></span>
<span class="type-var">'a</span></span></code></div></div></div></body></html>
12 changes: 11 additions & 1 deletion dev/catapult-client/Catapult_client/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Catapult_client (catapult-client.Catapult_client)</title><link rel="stylesheet" href="../../odoc.support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../index.html">catapult-client</a> &#x00BB; Catapult_client</nav><header class="odoc-preamble"><h1>Module <code><span>Catapult_client</span></code></h1><p>Backend for Catapult, using a connection to the daemon.</p><ul><li>The tracing is enabled/disabled via &quot;TRACE=1&quot;.</li><li>The trace identifier is specified in &quot;TRACE_ID&quot; (as a unique string ID).</li><li>The daemon's address is either &quot;TRACE_ENDPOINT=ipc://&lt;path&gt;&quot; or &quot;TRACE_ENDPOINT=tcp://host:port&quot;.</li></ul></header><div class="odoc-content"><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../catapult/Catapult/module-type-IMPL/index.html">Catapult.IMPL</a></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-setup"><a href="#val-setup" class="anchor"></a><code><span><span class="keyword">val</span> setup : <span>unit <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p>Install the catapult logger as a profiling backend.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-teardown"><a href="#val-teardown" class="anchor"></a><code><span><span class="keyword">val</span> teardown : <span>unit <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-with_setup"><a href="#val-with_setup" class="anchor"></a><code><span><span class="keyword">val</span> with_setup : <span><span>(<span>unit <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span>)</span> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span></span></code></div></div></details></div><div class="odoc-spec"><div class="spec module anchored" id="module-Endpoint_address"><a href="#module-Endpoint_address" class="anchor"></a><code><span><span class="keyword">module</span> Endpoint_address</span><span> = <a href="../../catapult/Catapult_utils/Endpoint_address/index.html">Catapult_utils.Endpoint_address</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-enable"><a href="#val-enable" class="anchor"></a><code><span><span class="keyword">val</span> enable : <span>unit <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-enabled"><a href="#val-enabled" class="anchor"></a><code><span><span class="keyword">val</span> enabled : <span>unit <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-set_trace_id"><a href="#val-set_trace_id" class="anchor"></a><code><span><span class="keyword">val</span> set_trace_id : <span>string <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p>Must be called before the setup.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_trace_id"><a href="#val-get_trace_id" class="anchor"></a><code><span><span class="keyword">val</span> get_trace_id : <span>unit <span class="arrow">&#45;&gt;</span></span> string</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-default_endpoint"><a href="#val-default_endpoint" class="anchor"></a><code><span><span class="keyword">val</span> default_endpoint : <a href="../../catapult/Catapult_utils/Endpoint_address/index.html#type-t">Endpoint_address.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_endpoint"><a href="#val-get_endpoint" class="anchor"></a><code><span><span class="keyword">val</span> get_endpoint : <span>unit <span class="arrow">&#45;&gt;</span></span> <a href="../../catapult/Catapult_utils/Endpoint_address/index.html#type-t">Endpoint_address.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-set_endpoint"><a href="#val-set_endpoint" class="anchor"></a><code><span><span class="keyword">val</span> set_endpoint : <span><a href="../../catapult/Catapult_utils/Endpoint_address/index.html#type-t">Endpoint_address.t</a> <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p>Must be called before the setup.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-set_tcp_endpoint"><a href="#val-set_tcp_endpoint" class="anchor"></a><code><span><span class="keyword">val</span> set_tcp_endpoint : <span>string <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-set_ipc_endpoint"><a href="#val-set_ipc_endpoint" class="anchor"></a><code><span><span class="keyword">val</span> set_ipc_endpoint : <span>string <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Catapult_client (catapult-client.Catapult_client)</title><link rel="stylesheet" href="../../odoc.support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../index.html">catapult-client</a> &#x00BB; Catapult_client</nav><header class="odoc-preamble"><h1>Module <code><span>Catapult_client</span></code></h1><p>Backend for Catapult, using a connection to the daemon.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Endpoint_address"><a href="#module-Endpoint_address" class="anchor"></a><code><span><span class="keyword">module</span> Endpoint_address</span><span> = <a href="../../catapult/Catapult_utils/Endpoint_address/index.html">Catapult_utils.Endpoint_address</a></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Backend"><a href="#module-Backend" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Backend/index.html">Backend</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Connection"><a href="#module-Connection" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Connection/index.html">Connection</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-default_endpoint"><a href="#val-default_endpoint" class="anchor"></a><code><span><span class="keyword">val</span> default_endpoint : <a href="../../catapult/Catapult_utils/Endpoint_address/index.html#type-t">Endpoint_address.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-with_conn"><a href="#val-with_conn" class="anchor"></a><code><span><span class="keyword">val</span> with_conn :
<span>addr:<a href="../../catapult/Catapult_utils/Endpoint_address/index.html#type-t">Catapult_utils.Endpoint_address.t</a> <span class="arrow">&#45;&gt;</span></span>
<span>?trace_id:string <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<span><span>(<span><a href="Connection/index.html#type-t">Connection.t</a> <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span>)</span> <span class="arrow">&#45;&gt;</span></span>
<span class="type-var">'a</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-backend_of_conn"><a href="#val-backend_of_conn" class="anchor"></a><code><span><span class="keyword">val</span> backend_of_conn : <span><a href="Connection/index.html#type-t">Connection.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../catapult/Catapult/index.html#type-backend">Catapult.backend</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-addr_of_string_exn"><a href="#val-addr_of_string_exn" class="anchor"></a><code><span><span class="keyword">val</span> addr_of_string_exn : <span>string <span class="arrow">&#45;&gt;</span></span> <a href="../../catapult/Catapult_utils/Endpoint_address/index.html#type-t">Endpoint_address.t</a></span></code></div><div class="spec-doc"><p>Parse a remote address.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-trace_collector_of_conn"><a href="#val-trace_collector_of_conn" class="anchor"></a><code><span><span class="keyword">val</span> trace_collector_of_conn : <span><a href="Connection/index.html#type-t">Connection.t</a> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Trace_core</span>.collector</span></code></div><div class="spec-doc"><p>Obtain a trace collector from a network connection</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-with_"><a href="#val-with_" class="anchor"></a><code><span><span class="keyword">val</span> with_ :
<span>addr:<a href="../../catapult/Catapult_utils/Endpoint_address/index.html#type-t">Catapult_utils.Endpoint_address.t</a> <span class="arrow">&#45;&gt;</span></span>
<span>?trace_id:string <span class="arrow">&#45;&gt;</span></span>
<span>unit <span class="arrow">&#45;&gt;</span></span>
<span><span>(<span>unit <span class="arrow">&#45;&gt;</span></span> <span class="type-var">'a</span>)</span> <span class="arrow">&#45;&gt;</span></span>
<span class="type-var">'a</span></span></code></div><div class="spec-doc"><p><code>with_ ~addr () f</code> runs <code>f()</code> in an environment where a connection to <code>addr</code> has been established and is used to forward tracing events to the remote daemon.</p></div></div></div></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<span>pid:int <span class="arrow">&#45;&gt;</span></span>
<span>cat:<span><span>string list</span> option</span> <span class="arrow">&#45;&gt;</span></span>
<span>ts_us:float <span class="arrow">&#45;&gt;</span></span>
<span>args:<span><span><span>(string * <a href="../../../../catapult/Catapult/Arg/index.html#type-t">Catapult.Arg.t</a>)</span> list</span> option</span> <span class="arrow">&#45;&gt;</span></span>
<span>args:<span><span><span>(string * <span>[&lt; <span class="xref-unresolved">Catapult__.Backend.arg</span> ]</span>)</span> list</span> option</span> <span class="arrow">&#45;&gt;</span></span>
<span>stack:<span><span>string list</span> option</span> <span class="arrow">&#45;&gt;</span></span>
<span>dur:<span>float option</span> <span class="arrow">&#45;&gt;</span></span>
<span>?extra:<span><span>(string * string)</span> list</span> <span class="arrow">&#45;&gt;</span></span>
Expand Down
2 changes: 1 addition & 1 deletion dev/catapult-sqlite/Catapult_sqlite/Backend/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Backend (catapult-sqlite.Catapult_sqlite.Backend)</title><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">catapult-sqlite</a> &#x00BB; <a href="../index.html">Catapult_sqlite</a> &#x00BB; Backend</nav><header class="odoc-preamble"><h1>Module <code><span>Catapult_sqlite.Backend</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module-type anchored" id="module-type-ARG"><a href="#module-type-ARG" class="anchor"></a><code><span><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-ARG/index.html">ARG</a></span><span> = <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Make"><a href="#module-Make" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Make/index.html">Make</a></span><span> (<a href="Make/argument-1-Arg/index.html">Arg</a> : <a href="module-type-ARG/index.html">ARG</a>) : <a href="../../../catapult/Catapult/module-type-BACKEND/index.html">Catapult.BACKEND</a></span></code></div></div></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Backend (catapult-sqlite.Catapult_sqlite.Backend)</title><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a><a href="../../index.html">catapult-sqlite</a> &#x00BB; <a href="../index.html">Catapult_sqlite</a> &#x00BB; Backend</nav><header class="odoc-preamble"><h1>Module <code><span>Catapult_sqlite.Backend</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module-type anchored" id="module-type-ARG"><a href="#module-type-ARG" class="anchor"></a><code><span><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-ARG/index.html">ARG</a></span><span> = <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Make"><a href="#module-Make" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Make/index.html">Make</a></span><span> (<a href="Make/argument-1-Arg/index.html">Arg</a> : <a href="module-type-ARG/index.html">ARG</a>) : <a href="../../../catapult/Catapult/module-type-BACKEND/index.html">Catapult.BACKEND</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-make"><a href="#val-make" class="anchor"></a><code><span><span class="keyword">val</span> make : <span><a href="../Writer/index.html#type-t">Writer.t</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../catapult/Catapult/index.html#type-backend">Catapult.backend</a></span></code></div></div></div></body></html>
Loading

0 comments on commit c766592

Please sign in to comment.