Docs.rs
  • tracelite-0.1.8
    • tracelite 0.1.8
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • fkoep
    • Dependencies
      • bytes ^1 normal
      • erased-serde ^0.4 normal
      • fastrand ^2.2 normal
      • futures ^0.3 normal
      • h2 ^0.4 normal
      • http ^1.1 normal
      • micropb ^0.1 normal
      • opentelemetry-micropb ^0.1.1 normal
      • serde ^1 normal
      • serde_json ^1 normal
      • tokio ^1.41 normal
      • tracelite_macro ^0.1.3 normal
    • Versions
    • 1.1% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

tracelite0.1.8

  • All Items

Crate Items

  • Modules
  • Macros
  • Structs
  • Enums
  • Traits
  • Functions
  • Type Aliases
  • Attribute Macros

Crate tracelite

Source

Modules§

  • export
  • globals

Macros§

  • __attr_key
  • __attr_muncher
  • __new_span
  • debug2_event
  • debug_event
  • error2_event
  • error_event
  • event
  • fatal_event
  • info2_event
  • info_event
  • new_debug2_span
  • new_debug_span
  • new_error2_span
  • new_error_span
  • new_fatal_span
  • new_info2_span
  • new_info_span
  • new_trace2_span
  • new_trace_span
  • new_warn2_span
  • new_warn_span
  • span_attributes
  • trace2_event
  • trace_event
  • warn2_event
  • warn_event

Structs§

  • DefaultTracer
  • DefaultTracerConfig
  • EventArgs
  • LocalSpanRef
  • OtlpMicroPbConfig
  • OtlpMicroPbSpanCollection
  • OwnedSpan
  • PrivateMarker
  • RemoteSpanRef
  • SeverityParseError
  • SpanArgs
  • SpanCollectionIndex
  • SpanId
  • TraceId

Enums§

  • AttributeValue
  • InstrumentationError
  • MaybeInSpan
  • MaybeStaticStr
  • Severity
  • Span
  • SpanKind
  • SpanParent
  • SpanStatus

Traits§

  • InSpan
  • RecordException
  • Tracer

Functions§

  • current_span
  • in_span
  • mark_span_as_error
  • mark_span_as_ok
  • record_exception
  • record_exception_as_error
  • record_exception_debug
  • record_exception_debug_as_error
  • set_attributes
    NOTE you will likely want to use span_attributes!() instead
  • set_status
  • set_tracer

Type Aliases§

  • AttributeListFixedSize
  • AttributeListRef

Attribute Macros§

  • debug_span
  • info_span
  • trace_span