dc

package
v0.0.0-...-128e3fa Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetAddress    = "monica://Production/go_datacollector_svr"
	QueueCapacity = 10000 // 默认工作队列大小
)

Variables

This section is empty.

Functions

func Report

func Report(ctx context.Context, fullMethod string, req interface{}, st time.Time, err error)

Report 上报链路调用

Types

type Worker

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

func NewWorker

func NewWorker() *Worker

func (*Worker) Close

func (w *Worker) Close()

func (*Worker) Report

func (w *Worker) Report(item *pb.ReportTraceReq) error

Jump to

Keyboard shortcuts

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