ocaml-opentelemetry/opentelemetry/Opentelemetry_client/Signal/Decode/index.html
2025-07-12 04:26:53 +00:00

2 lines
3.2 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>Decode (opentelemetry.Opentelemetry_client.Signal.Decode)</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_client</a> &#x00BB; <a href="../index.html">Signal</a> &#x00BB; Decode</nav><header class="odoc-preamble"><h1>Module <code><span>Signal.Decode</span></code></h1><p>Decode signals from protobuf encoded strings, received over the wire</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-logs"><a href="#val-logs" class="anchor"></a><code><span><span class="keyword">val</span> logs : <span>string <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../Opentelemetry_proto/Logs/index.html#type-resource_logs">Opentelemetry_proto.Logs.resource_logs</a> list</span></span></code></div><div class="spec-doc"><p><code>logs s</code> is a list of log resources decoded from the protobuf encoded string <code>s</code>.</p><ul class="at-tags"><li class="raises"><span class="at-tag">raises</span> <a href="../../../../pbrt/Pbrt/Decoder/index.html#exception-Failure"><code>Pbrt.Decoder.Failure</code></a> <p>if <code>s</code> is not a valid protobuf encoding.</p></li></ul></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-metrics"><a href="#val-metrics" class="anchor"></a><code><span><span class="keyword">val</span> metrics : <span>string <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../Opentelemetry_proto/Metrics/index.html#type-resource_metrics">Opentelemetry_proto.Metrics.resource_metrics</a> list</span></span></code></div><div class="spec-doc"><p><code>metrics s</code> is a list of metrics resources decoded from the protobuf encoded string <code>s</code>.</p><ul class="at-tags"><li class="raises"><span class="at-tag">raises</span> <a href="../../../../pbrt/Pbrt/Decoder/index.html#exception-Failure"><code>Pbrt.Decoder.Failure</code></a> <p>if <code>s</code> is not a valid protobuf encoding.</p></li></ul></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-traces"><a href="#val-traces" class="anchor"></a><code><span><span class="keyword">val</span> traces : <span>string <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../Opentelemetry_proto/Trace/index.html#type-resource_spans">Opentelemetry_proto.Trace.resource_spans</a> list</span></span></code></div><div class="spec-doc"><p><code>traces s</code> is a list of span resources decoded from the protobuf encoded string <code>s</code>.</p><ul class="at-tags"><li class="raises"><span class="at-tag">raises</span> <a href="../../../../pbrt/Pbrt/Decoder/index.html#exception-Failure"><code>Pbrt.Decoder.Failure</code></a> <p>if <code>s</code> is not a valid protobuf encoding.</p></li></ul></div></div></div></body></html>