mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-08 03:47:57 -04:00
deploy: 6f3b487f35
This commit is contained in:
parent
9c26067efc
commit
994b248ff2
7 changed files with 7 additions and 7 deletions
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (trace-tef.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../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">Index</a> » trace-tef</nav><header class="odoc-preamble"><h1 id="package-trace-tef"><a href="#package-trace-tef" class="anchor"></a>Package trace-tef <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Trace_tef/index.html"><code>Trace_tef</code></a> </li><li><a href="Trace_tef_tldrs/index.html"><code>Trace_tef_tldrs</code></a> <span class="synopsis">Emit traces by talking to the <a href="https://github.com/imandra-ai/tldrs">tldrs</a> daemon</span></li></ul></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav></div><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (trace-tef.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../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">Index</a> » trace-tef</nav><header class="odoc-preamble"><h1 id="package-trace-tef"><a href="#package-trace-tef" class="anchor"></a>Package trace-tef <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Trace_tef/index.html"><code>Trace_tef</code></a> <span class="synopsis">TEF collector for Trace.</span></li><li><a href="Trace_tef_tldrs/index.html"><code>Trace_tef_tldrs</code></a> <span class="synopsis">Emit traces by talking to the <a href="https://github.com/imandra-ai/tldrs">tldrs</a> daemon</span></li></ul></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav></div><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Track_spans (trace.Trace_debug.Track_spans)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../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">Index</a> » <a href="../../index.html">trace</a> » <a href="../index.html">Trace_debug</a> » Track_spans</nav><header class="odoc-preamble"><h1>Module <code><span>Trace_debug.Track_spans</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-unclosed_spans"><a href="#type-unclosed_spans" class="anchor"></a><code><span><span class="keyword">type</span> unclosed_spans</span><span> = </span><span>{</span></code><ol><li id="type-unclosed_spans.num" class="def record field anchored"><a href="#type-unclosed_spans.num" class="anchor"></a><code><span>num : int;</span></code></li><li id="type-unclosed_spans.by_name" class="def record field anchored"><a href="#type-unclosed_spans.by_name" class="anchor"></a><code><span>by_name : <span><span>(string * int)</span> list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-track"><a href="#val-track" class="anchor"></a><code><span><span class="keyword">val</span> track :
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Track_spans (trace.Trace_debug.Track_spans)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../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">Index</a> » <a href="../../index.html">trace</a> » <a href="../index.html">Trace_debug</a> » Track_spans</nav><header class="odoc-preamble"><h1>Module <code><span>Trace_debug.Track_spans</span></code></h1><p>Helper to track which spans never get closed.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-unclosed_spans"><a href="#type-unclosed_spans" class="anchor"></a><code><span><span class="keyword">type</span> unclosed_spans</span><span> = </span><span>{</span></code><ol><li id="type-unclosed_spans.num" class="def record field anchored"><a href="#type-unclosed_spans.num" class="anchor"></a><code><span>num : int;</span></code></li><li id="type-unclosed_spans.by_name" class="def record field anchored"><a href="#type-unclosed_spans.by_name" class="anchor"></a><code><span>by_name : <span><span>(string * int)</span> list</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-track"><a href="#val-track" class="anchor"></a><code><span><span class="keyword">val</span> track :
|
||||
<span><span class="optlabel">?on_lingering_spans</span>:<span>[ <span>`Out of <a href="../../../ocaml/Stdlib/index.html#type-out_channel">out_channel</a></span> <span><span>| `Call</span> of <span><a href="#type-unclosed_spans">unclosed_spans</a> <span class="arrow">-></span></span> unit</span> ]</span> <span class="arrow">-></span></span>
|
||||
<span><a href="../../Trace_core/Collector/index.html#type-t">Trace_core.Collector.t</a> <span class="arrow">-></span></span>
|
||||
<a href="../../Trace_core/Collector/index.html#type-t">Trace_core.Collector.t</a></span></code></div><div class="spec-doc"><p>Modify the enter/exit span functions to track the set of spans that are open, and warn at the end if some are not closed.</p><p>implementation notes: for now this uses a regular <code>Hashtbl</code> protected by a mutex, so runtime overhead isn't trivial.</p><ul class="at-tags"><li class="parameter"><span class="at-tag">parameter</span> <span class="value">on_lingering_spans</span> <p>what to do with the non-closed spans</p></li></ul></div></div></div></body></html>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Trace_debug (trace.Trace_debug)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../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">Index</a> » <a href="../index.html">trace</a> » Trace_debug</nav><header class="odoc-preamble"><h1>Module <code><span>Trace_debug</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Track_spans"><a href="#module-Track_spans" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Track_spans/index.html">Track_spans</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div></div></body></html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Trace_debug (trace.Trace_debug)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../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">Index</a> » <a href="../index.html">trace</a> » Trace_debug</nav><header class="odoc-preamble"><h1>Module <code><span>Trace_debug</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Track_spans"><a href="#module-Track_spans" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Track_spans/index.html">Track_spans</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>Helper to track which spans never get closed.</p></div></div></div></body></html>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (trace.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../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">Index</a> » trace</nav><header class="odoc-preamble"><h1 id="package-trace"><a href="#package-trace" class="anchor"></a>Package trace <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Trace/index.html"><code>Trace</code></a> </li><li><a href="Trace_core/index.html"><code>Trace_core</code></a> <span class="synopsis">Trace.</span></li><li><a href="Trace_debug/index.html"><code>Trace_debug</code></a> </li><li><a href="Trace_simple/index.html"><code>Trace_simple</code></a> </li><li><a href="Trace_util/index.html"><code>Trace_util</code></a> </li></ul></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav></div><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (trace.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../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">Index</a> » trace</nav><header class="odoc-preamble"><h1 id="package-trace"><a href="#package-trace" class="anchor"></a>Package trace <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Trace/index.html"><code>Trace</code></a> <span class="synopsis">Shim that just forwards to <a href="Trace_core/index.html"><code>Trace_core</code></a>.</span></li><li><a href="Trace_core/index.html"><code>Trace_core</code></a> <span class="synopsis">Main tracing interface.</span></li><li><a href="Trace_debug/index.html"><code>Trace_debug</code></a> </li><li><a href="Trace_simple/index.html"><code>Trace_simple</code></a> </li><li><a href="Trace_util/index.html"><code>Trace_util</code></a> </li></ul></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav></div><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue