servers

package
v0.0.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = `` /* 315-byte string literal not displayed */

Functions

func RegisterLogServer added in v0.0.16

func RegisterLogServer(g *grpc.Server, cfg Config) error

func RegisterMetricsServer added in v0.0.14

func RegisterMetricsServer(g *grpc.Server, cfg Config) error

func RegisterTraceServer added in v0.0.13

func RegisterTraceServer(g *grpc.Server, cfg Config) error

Types

type Config

type Config struct {
	ServerAddress   string `mapstructure:"server_address"`
	Resource        Match
	Trace           []Match
	Metrics         []Match
	Log             []Match
	ReportUnmatched bool `mapstructure:"report_unmatched"`
	DisableError    bool `mapstructure:"disable_error"`
}

type Match

type Match = match.Match

Jump to

Keyboard shortcuts

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