ocaml-opentelemetry/dev/opentelemetry/Opentelemetry/GC_metrics/index.html
2022-04-11 17:19:59 +00:00

2 lines
No EOL
1.6 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><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> &#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" 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">&#45;&gt;</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_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">&#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>