ocaml-opentelemetry/opentelemetry/Opentelemetry/GC_metrics/index.html
2025-03-27 13:35:42 +00:00

2 lines
2.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>GC_metrics (opentelemetry.Opentelemetry.GC_metrics)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.0.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> &#x00BB; <a href="../../index.html">opentelemetry</a> &#x00BB; <a href="../index.html">Opentelemetry</a> &#x00BB; 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 anchored" id="val-basic_setup"><a href="#val-basic_setup" class="anchor"></a><code><span><span class="keyword">val</span> basic_setup : <span>unit <span class="arrow">&#45;&gt;</span></span> unit</span></code></div><div class="spec-doc"><p>Setup a hook that will emit GC statistics on every tick (assuming a ticker thread)</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_runtime_attributes"><a href="#val-get_runtime_attributes" class="anchor"></a><code><span><span class="keyword">val</span> get_runtime_attributes : <span>unit <span class="arrow">&#45;&gt;</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 anchored" id="val-get_metrics"><a href="#val-get_metrics" class="anchor"></a><code><span><span class="keyword">val</span> get_metrics : <span>unit <span class="arrow">&#45;&gt;</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>