trace

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAgent

func InitAgent(o Options)

Types

type Options

type Options struct {
	Name     string  `json:"name"`     // jeager 名称
	Endpoint string  `json:"endpoint"` // jeager 地址
	Sampler  float64 `json:"sampler"`  // 采样率
	Batcher  string  `json:"batcher"`  // 批量发送
}

Options 这个配置和 业务中 app 中的 tracing 冗余,为的是将 tracing 从业务中解耦出来

Jump to

Keyboard shortcuts

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