tracing

package
v0.0.0-...-2910145 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package tracing 提供了一些用于追踪功能的实用工具函数。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIDs

func NewIDs() (traceID trace.TraceID, spanID trace.SpanID)

NewIDs 创建并返回一个新的跟踪ID和跨度ID。

func NewSpanID

func NewSpanID() (spanID trace.SpanID)

NewSpanID 创建并返回一个跨度ID。

func NewTraceID

func NewTraceID() (traceID trace.TraceID)

NewTraceID 创建并返回一个追踪ID。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL