traces

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

DB 一个储存 traces 在本地文件的 trace 数据库

func OpenDB

func OpenDB(ctx context.Context, fName string) (*DB, error)

func (*DB) Close

func (t *DB) Close() error

func (*DB) Store

func (t *DB) Store(ctx context.Context, app, version string, spans *protos.TraceSpans) error

Jump to

Keyboard shortcuts

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