mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -04:00
2 lines
No EOL
2.1 KiB
HTML
2 lines
No EOL
2.1 KiB
HTML
<!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>Setup a hook that will emit GC statistics regularly</p></div></div><div class="odoc-spec"><div class="spec value" id="val-get_runtime_attributes" class="anchored"><a href="#val-get_runtime_attributes" class="anchor"></a><code><span><span class="keyword">val</span> get_runtime_attributes : <span>unit <span class="arrow">-></span></span> <span><a href="../Span/index.html#type-key_value">Span.key_value</a> list</span></span></code></div><div class="spec-doc"><p>Get OCaml name and version runtime attributes</p></div></div><div class="odoc-spec"><div class="spec value" id="val-get_metrics" class="anchored"><a href="#val-get_metrics" class="anchor"></a><code><span><span class="keyword">val</span> get_metrics : <span>unit <span class="arrow">-></span></span> <span><a href="../Metrics/index.html#type-t">Metrics.t</a> list</span></span></code></div><div class="spec-doc"><p>Get a few metrics from the current state of the GC</p></div></div></div></body></html> |