fskywalking

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENV_KEY               = "MY_ENV_NAME"
	PROJECT_NAME_KEY      = "MY_PROJECT_NAME"
	MY_PROJECT_TRACE_HOST = "MY_PROJECT_TRACE_HOST"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enable      bool
	ServiceName string
	EnvName     string

	AgentEndPoint string
	Sampler       float64
}

func DefaultConfig

func DefaultConfig() *Config

func (*Config) Build

func (config *Config) Build(ops ...Option) *go2sky.Tracer

type Option

type Option func(c *Config)

Option 可选项

Jump to

Keyboard shortcuts

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