mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-15 12:30:38 +00:00
2 lines
12 KiB
HTML
2 lines
12 KiB
HTML
<!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 `jaeger` mod in crate `servers`."><title>servers::http::jaeger - 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-17e0aaed.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="servers" data-themes="" data-resource-suffix="" data-rustdoc-version="1.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.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-5013f961.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 jaeger</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../servers/index.html">servers</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module jaeger</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></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In servers::<wbr>http</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">servers</a>::<wbr><a href="../index.html">http</a></div><h1>Module <span>jaeger</span> <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/servers/http/jaeger.rs.html#15-1750">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.JaegerAPIError.html" title="struct servers::http::jaeger::JaegerAPIError">JaegerAPI<wbr>Error</a></dt><dd>JaegerAPIError is the error of Jaeger HTTP API.</dd><dt><a class="struct" href="struct.JaegerAPIResponse.html" title="struct servers::http::jaeger::JaegerAPIResponse">JaegerAPI<wbr>Response</a></dt><dd>JaegerAPIResponse is the response of Jaeger HTTP API.
|
|
The original version is <code>structuredResponse</code> which is defined in https://github.com/jaegertracing/jaeger/blob/main/cmd/query/app/http_handler.go.</dd><dt><a class="struct" href="struct.JaegerQueryParams.html" title="struct servers::http::jaeger::JaegerQueryParams">Jaeger<wbr>Query<wbr>Params</a></dt><dd>JaegerQueryParams is the query parameters of Jaeger HTTP API.</dd><dt><a class="struct" href="struct.KeyValue.html" title="struct servers::http::jaeger::KeyValue">KeyValue</a></dt><dd>KeyValue is a key-value pair with typed value.</dd><dt><a class="struct" href="struct.Log.html" title="struct servers::http::jaeger::Log">Log</a></dt><dd>Log is a log emitted in a span.</dd><dt><a class="struct" href="struct.Operation.html" title="struct servers::http::jaeger::Operation">Operation</a></dt><dd>Operation is an operation in a service.</dd><dt><a class="struct" href="struct.Process.html" title="struct servers::http::jaeger::Process">Process</a></dt><dd>Process is the process emitting a set of spans.</dd><dt><a class="struct" href="struct.QueryTraceParams.html" title="struct servers::http::jaeger::QueryTraceParams">Query<wbr>Trace<wbr>Params</a></dt><dt><a class="struct" href="struct.Reference.html" title="struct servers::http::jaeger::Reference">Reference</a></dt><dd>Reference is a reference from one span to another.</dd><dt><a class="struct" href="struct.Span.html" title="struct servers::http::jaeger::Span">Span</a></dt><dd>Span is a single operation within a trace.</dd><dt><a class="struct" href="struct.Trace.html" title="struct servers::http::jaeger::Trace">Trace</a></dt><dd>Trace is a collection of spans.</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.JaegerData.html" title="enum servers::http::jaeger::JaegerData">Jaeger<wbr>Data</a></dt><dd>JaegerData is the query result of Jaeger HTTP API.</dd><dt><a class="enum" href="enum.TraceUserAgent.html" title="enum servers::http::jaeger::TraceUserAgent">Trace<wbr>User<wbr>Agent</a></dt><dt><a class="enum" href="enum.Value.html" title="enum servers::http::jaeger::Value">Value</a></dt><dd>Value is the value of a key-value pair in Jaeger Span attributes.</dd><dt><a class="enum" href="enum.ValueType.html" title="enum servers::http::jaeger::ValueType">Value<wbr>Type</a></dt><dd>ValueType is the type of a value stored in KeyValue struct.</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.JAEGER_QUERY_TABLE_NAME_KEY.html" title="constant servers::http::jaeger::JAEGER_QUERY_TABLE_NAME_KEY">JAEGER_<wbr>QUERY_<wbr>TABLE_<wbr>NAME_<wbr>KEY</a></dt><dt><a class="constant" href="constant.REF_TYPE_CHILD_OF.html" title="constant servers::http::jaeger::REF_TYPE_CHILD_OF">REF_<wbr>TYPE_<wbr>CHILD_<wbr>OF</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="constant" href="constant.SPAN_KIND_TIME_FMTS.html" title="constant servers::http::jaeger::SPAN_KIND_TIME_FMTS">SPAN_<wbr>KIND_<wbr>TIME_<wbr>FMTS</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="constant" href="constant.TRACE_NOT_FOUND_ERROR_CODE.html" title="constant servers::http::jaeger::TRACE_NOT_FOUND_ERROR_CODE">TRACE_<wbr>NOT_<wbr>FOUND_<wbr>ERROR_<wbr>CODE</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="constant" href="constant.TRACE_NOT_FOUND_ERROR_MSG.html" title="constant servers::http::jaeger::TRACE_NOT_FOUND_ERROR_MSG">TRACE_<wbr>NOT_<wbr>FOUND_<wbr>ERROR_<wbr>MSG</a><span title="Restricted Visibility"> 🔒</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.check_schema.html" title="fn servers::http::jaeger::check_schema">check_<wbr>schema</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.convert_string_to_boolean.html" title="fn servers::http::jaeger::convert_string_to_boolean">convert_<wbr>string_<wbr>to_<wbr>boolean</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.convert_string_to_number.html" title="fn servers::http::jaeger::convert_string_to_number">convert_<wbr>string_<wbr>to_<wbr>number</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.covert_to_records.html" title="fn servers::http::jaeger::covert_to_records">covert_<wbr>to_<wbr>records</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.empty_string_as_none.html" title="fn servers::http::jaeger::empty_string_as_none">empty_<wbr>string_<wbr>as_<wbr>none</a><span title="Restricted Visibility"> 🔒</span> </dt><dd>Serde deserialization decorator to map empty Strings to None.</dd><dt><a class="fn" href="fn.error_response.html" title="fn servers::http::jaeger::error_response">error_<wbr>response</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.handle_find_traces.html" title="fn servers::http::jaeger::handle_find_traces">handle_<wbr>find_<wbr>traces</a></dt><dd>Handle the GET <code>/api/traces</code> request.</dd><dt><a class="fn" href="fn.handle_get_operations.html" title="fn servers::http::jaeger::handle_get_operations">handle_<wbr>get_<wbr>operations</a></dt><dd>Handle the GET <code>/api/operations</code> request.</dd><dt><a class="fn" href="fn.handle_get_operations_by_service.html" title="fn servers::http::jaeger::handle_get_operations_by_service">handle_<wbr>get_<wbr>operations_<wbr>by_<wbr>service</a></dt><dd>Handle the GET <code>/api/services/{service_name}/operations</code> request.</dd><dt><a class="fn" href="fn.handle_get_services.html" title="fn servers::http::jaeger::handle_get_services">handle_<wbr>get_<wbr>services</a></dt><dd>Handle the GET <code>/api/services</code> request.</dd><dt><a class="fn" href="fn.handle_get_trace.html" title="fn servers::http::jaeger::handle_get_trace">handle_<wbr>get_<wbr>trace</a></dt><dd>Handle the GET <code>/api/traces/{trace_id}</code> request.</dd><dt><a class="fn" href="fn.handle_query_error.html" title="fn servers::http::jaeger::handle_query_error">handle_<wbr>query_<wbr>error</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.normalize_span_kind.html" title="fn servers::http::jaeger::normalize_span_kind">normalize_<wbr>span_<wbr>kind</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.normalize_status_code.html" title="fn servers::http::jaeger::normalize_status_code">normalize_<wbr>status_<wbr>code</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.object_to_tags.html" title="fn servers::http::jaeger::object_to_tags">object_<wbr>to_<wbr>tags</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.operations_from_records.html" title="fn servers::http::jaeger::operations_from_records">operations_<wbr>from_<wbr>records</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.services_from_records.html" title="fn servers::http::jaeger::services_from_records">services_<wbr>from_<wbr>records</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.to_keyvalue.html" title="fn servers::http::jaeger::to_keyvalue">to_<wbr>keyvalue</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.traces_from_records.html" title="fn servers::http::jaeger::traces_from_records">traces_<wbr>from_<wbr>records</a><span title="Restricted Visibility"> 🔒</span> </dt><dt><a class="fn" href="fn.update_query_context.html" title="fn servers::http::jaeger::update_query_context">update_<wbr>query_<wbr>context</a><span title="Restricted Visibility"> 🔒</span> </dt></dl></section></div></main></body></html> |