mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
deploy: 8f2a666a70
This commit is contained in:
parent
5652241fef
commit
2fc7139821
3 changed files with 3 additions and 4 deletions
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>GC_metrics (opentelemetry.Opentelemetry.GC_metrics)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.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">opentelemetry</a> » <a href="../index.html">Opentelemetry</a> » GC_metrics</nav><header class="odoc-preamble"><h1>Module <code><span>Opentelemetry.GC_metrics</span></code></h1><p>Export GC metrics.</p><p>These metrics are emitted after each GC collection.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value" id="val-basic_setup" class="anchored"><a href="#val-basic_setup" class="anchor"></a><code><span><span class="keyword">val</span> basic_setup : <span>unit <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Basic setup: a few stats</p></div></div></div></body></html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>GC_metrics (opentelemetry.Opentelemetry.GC_metrics)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.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">opentelemetry</a> » <a href="../index.html">Opentelemetry</a> » GC_metrics</nav><header class="odoc-preamble"><h1>Module <code><span>Opentelemetry.GC_metrics</span></code></h1><p>Export GC metrics.</p><p>These metrics are emitted after each GC collection.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value" id="val-bytes_per_word" class="anchored"><a href="#val-bytes_per_word" class="anchor"></a><code><span><span class="keyword">val</span> bytes_per_word : int</span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-basic_setup" class="anchored"><a href="#val-basic_setup" class="anchor"></a><code><span><span class="keyword">val</span> basic_setup : <span>unit <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Basic setup: a few stats</p></div></div></div></body></html>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
unit</span></code></div><div class="spec-doc"><p>Sync emitter</p></div></div><div class="odoc-spec"><div class="spec type" id="type-scope" class="anchored"><a href="#type-scope" class="anchor"></a><code><span><span class="keyword">type</span> scope</span><span> = </span><span>{</span></code><table><tr id="type-scope.trace_id" class="anchored"><td class="def record field"><a href="#type-scope.trace_id" class="anchor"></a><code><span>trace_id : <a href="../Trace_id/index.html#type-t">Trace_id.t</a>;</span></code></td></tr><tr id="type-scope.span_id" class="anchored"><td class="def record field"><a href="#type-scope.span_id" class="anchor"></a><code><span>span_id : <a href="../Span_id/index.html#type-t">Span_id.t</a>;</span></code></td></tr><tr id="type-scope.events" class="anchored"><td class="def record field"><a href="#type-scope.events" class="anchor"></a><code><span><span class="keyword">mutable</span> events : <span><a href="../Event/index.html#type-t">Event.t</a> list</span>;</span></code></td></tr><tr id="type-scope.attrs" class="anchored"><td class="def record field"><a href="#type-scope.attrs" class="anchor"></a><code><span><span class="keyword">mutable</span> attrs : <span><a href="../Span/index.html#type-key_value">Span.key_value</a> list</span>;</span></code></td></tr></table><code><span>}</span></code></div><div class="spec-doc"><p>Scope to be used with <a href="#val-with_"><code>with_</code></a>.</p></div></div><div class="odoc-spec"><div class="spec value" id="val-add_event" class="anchored"><a href="#val-add_event" class="anchor"></a><code><span><span class="keyword">val</span> add_event : <span><a href="#type-scope">scope</a> <span class="arrow">-></span></span> <span><span>( <span>unit <span class="arrow">-></span></span> <a href="../Event/index.html#type-t">Event.t</a> )</span> <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Add an event to the scope. It will be aggregated into the span.</p><p>Note that this takes a function that produces an event, and will only call it if there is an instrumentation backend.</p></div></div><div class="odoc-spec"><div class="spec value" id="val-add_attrs" class="anchored"><a href="#val-add_attrs" class="anchor"></a><code><span><span class="keyword">val</span> add_attrs : <span><a href="#type-scope">scope</a> <span class="arrow">-></span></span> <span><span>( <span>unit <span class="arrow">-></span></span> <span><a href="../Span/index.html#type-key_value">Span.key_value</a> list</span> )</span> <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p>Add an attr to the scope. It will be aggregated into the span.</p><p>Note that this takes a function that produces attributes, and will only call it if there is an instrumentation backend.</p></div></div><div class="odoc-spec"><div class="spec value" id="val-with_" class="anchored"><a href="#val-with_" class="anchor"></a><code><span><span class="keyword">val</span> with_ :
|
||||
<span>?trace_state:string <span class="arrow">-></span></span>
|
||||
<span>?service_name:string <span class="arrow">-></span></span>
|
||||
<span>?attrs:<span><a href="../Span/index.html#type-key_value">Span.key_value</a> list</span> <span class="arrow">-></span></span>
|
||||
<span>?attrs:<span><span>(string * <a href="../index.html#type-value">value</a>)</span> list</span> <span class="arrow">-></span></span>
|
||||
<span>?kind:<a href="../Span/index.html#type-kind">Span.kind</a> <span class="arrow">-></span></span>
|
||||
<span>?trace_id:<a href="../Trace_id/index.html#type-t">Trace_id.t</a> <span class="arrow">-></span></span>
|
||||
<span>?parent:<a href="../Span/index.html#type-id">Span.id</a> <span class="arrow">-></span></span>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue