Files
greptimedb/frontend/instance/otlp/trace_ingest/index.html
T

4 lines
12 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 lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `trace_ingest` mod in crate `frontend`."><title>frontend::instance::otlp::trace_ingest - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-1ed95124.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="frontend" data-themes="" data-resource-suffix="" data-rustdoc-version="1.98.1 (48a229cea 2026-09-01)" data-channel="1.98.1" data-search-js="search-9944d736.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../../../static.files/storage-41dd4d93.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-417ebf0a.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Module trace_ingest</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../frontend/index.html">frontend</a><span class="version">1.4.0-alpha.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module trace_<wbr>ingest</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In frontend::<wbr>instance::<wbr>otlp</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../index.html">frontend</a>::<wbr><a href="../../index.html">instance</a>::<wbr><a href="../index.html">otlp</a></div><h1>Module <span>trace_<wbr>ingest</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../../src/frontend/instance/otlp/trace_ingest.rs.html#15-2520">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.TraceAuxCache.html" title="struct frontend::instance::otlp::trace_ingest::TraceAuxCache">Trace<wbr>AuxCache</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Confirmed auxiliary writes, shared across requests and instance clones.</dd><dt><a class="struct" href="struct.TraceAuxCacheKey.html" title="struct frontend::instance::otlp::trace_ingest::TraceAuxCacheKey">Trace<wbr>AuxCache<wbr>Key</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.TraceBatchColumnObservation.html" title="struct frontend::instance::otlp::trace_ingest::TraceBatchColumnObservation">Trace<wbr>Batch<wbr>Column<wbr>Observation</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>The schema and value types observed for one column in one chunk.</dd><dt><a class="struct" href="struct.TraceChunkIngestContext.html" title="struct frontend::instance::otlp::trace_ingest::TraceChunkIngestContext">Trace<wbr>Chunk<wbr>Ingest<wbr>Context</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Shared dependencies and request metadata used while ingesting trace chunks.</dd><dt><a class="struct" href="struct.TraceChunkRetry.html" title="struct frontend::instance::otlp::trace_ingest::TraceChunkRetry">Trace<wbr>Chunk<wbr>Retry</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Sparse representation retained for a v1 trace chunk.</dd><dt><a class="struct" href="struct.TraceColumnRequestSchema.html" title="struct frontend::instance::otlp::trace_ingest::TraceColumnRequestSchema">Trace<wbr>Column<wbr>Request<wbr>Schema</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Per-column observations and the resolved target type for a trace request.</dd><dt><a class="struct" href="struct.TraceFailureEntry.html" title="struct frontend::instance::otlp::trace_ingest::TraceFailureEntry">Trace<wbr>Failure<wbr>Entry</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.TraceFailureMessages.html" title="struct frontend::instance::otlp::trace_ingest::TraceFailureMessages">Trace<wbr>Failure<wbr>Messages</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Bounded, deduplicated failure details for one trace request.</dd><dt><a class="struct" href="struct.TraceIngestState.html" title="struct frontend::instance::otlp::trace_ingest::TraceIngestState">Trace<wbr>Ingest<wbr>State</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Accumulates trace outcomes, auxiliary rows, and bounded failure details.</dd><dt><a class="struct" href="struct.TraceRequestSchema.html" title="struct frontend::instance::otlp::trace_ingest::TraceRequestSchema">Trace<wbr>Request<wbr>Schema</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Request-wide schema observations collected across all v1 trace chunks.</dd><dt><a class="struct" href="struct.TraceRetryRow.html" title="struct frontend::instance::otlp::trace_ingest::TraceRetryRow">Trace<wbr>Retry<wbr>Row</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>The projected retry values and identifying metadata for one span.</dd><dt><a class="struct" href="struct.TraceRetryValue.html" title="struct frontend::instance::otlp::trace_ingest::TraceRetryValue">Trace<wbr>Retry<wbr>Value</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>One retry cell and the logical type to restore before insertion.</dd><dt><a class="struct" href="struct.TraceSpanMetadata.html" title="struct frontend::instance::otlp::trace_ingest::TraceSpanMetadata">Trace<wbr>Span<wbr>Metadata</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Span identity and operation fields retained after request conversion.</dd><dt><a class="struct" href="struct.TraceTablePreAlter.html" title="struct frontend::instance::otlp::trace_ingest::TraceTablePreAlter">Trace<wbr>Table<wbr>PreAlter</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Table columns to add or widen before inserting the prepared chunks.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.ChunkFailureReaction.html" title="enum frontend::instance::otlp::trace_ingest::ChunkFailureReaction">Chunk<wbr>Failure<wbr>Reaction</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Determines how trace ingestion responds to a failure before a write is dispatched.</dd><dt><a class="enum" href="enum.TraceAuxEntry.html" title="enum frontend::instance::otlp::trace_ingest::TraceAuxEntry">Trace<wbr>AuxEntry</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="enum" href="enum.TraceChunkSchemaState.html" title="enum frontend::instance::otlp::trace_ingest::TraceChunkSchemaState">Trace<wbr>Chunk<wbr>Schema<wbr>State</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>How a v1 chunk should be reconciled when it is written.</dd><dt><a class="enum" href="enum.TraceRequestSchemaPlan.html" title="enum frontend::instance::otlp::trace_ingest::TraceRequestSchemaPlan">Trace<wbr>Request<wbr>Schema<wbr>Plan</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Either a ready table-alter plan or the observations that cannot be unified.</dd><dt><a class="enum" href="enum.TraceRetrySchemaType.html" title="enum frontend::instance::otlp::trace_ingest::TraceRetrySchemaType">Trace<wbr>Retry<wbr>Schema<wbr>Type</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>The scalar or binary logical type recorded for a retry value.</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.TRACE_FAILURE_CAUSE_LIMIT.html" title="constant frontend::instance::otlp::trace_ingest::TRACE_FAILURE_CAUSE_LIMIT">TRACE_<wbr>FAILURE_<wbr>CAUSE_<wbr>LIMIT</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Maximum characters of a failure cause echoed to the client and the log.</dd><dt><a class="constant" href="constant.TRACE_FAILURE_MESSAGE_LIMIT.html" title="constant frontend::instance::otlp::trace_ingest::TRACE_FAILURE_MESSAGE_LIMIT">TRACE_<wbr>FAILURE_<wbr>MESSAGE_<wbr>LIMIT</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.chunk_owned.html" title="fn frontend::instance::otlp::trace_ingest::chunk_owned">chunk_<wbr>owned</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.confirmed_trace_aux_data.html" title="fn frontend::instance::otlp::trace_ingest::confirmed_trace_aux_data">confirmed_<wbr>trace_<wbr>aux_<wbr>data</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Keeps confirmed chunks even if another chunk fails or loses its completion sender.</dd><dt><a class="fn" href="fn.merge_trace_v2_rows.html" title="fn frontend::instance::otlp::trace_ingest::merge_trace_v2_rows">merge_<wbr>trace_<wbr>v2_<wbr>rows</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Merge converted V2 rows only when their fixed schemas agree.</dd><dt><a class="fn" href="fn.trace_conventions.html" title="fn frontend::instance::otlp::trace_ingest::trace_conventions">trace_<wbr>conventions</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Derives <code>trace.conventions</code> from the request’s resource/scope <code>schema_url</code>s.
A single distinct non-empty value is concrete; multiple distinct values are
<code>mixed</code>; none is <code>unknown</code>. <code>schema_url</code> is row-level in OTLP, so the
table-level value is best-effort per the RFC conflict rule.</dd><dt><a class="fn" href="fn.trace_logical_types_incompatible.html" title="fn frontend::instance::otlp::trace_ingest::trace_logical_types_incompatible">trace_<wbr>logical_<wbr>types_<wbr>incompatible</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.wrap_trace_alter_failure.html" title="fn frontend::instance::otlp::trace_ingest::wrap_trace_alter_failure">wrap_<wbr>trace_<wbr>alter_<wbr>failure</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Preserve the original alter failure status so chunk retry behavior stays correct.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.TraceSchemaExclusions.html" title="type frontend::instance::otlp::trace_ingest::TraceSchemaExclusions">Trace<wbr>Schema<wbr>Exclusions</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Maps incompatible columns to the chunk indexes that must use fallback.</dd></dl></section></div></main></body></html>