observability

package
v0.0.0-...-4eea697 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(newCfg Config)

func Stop

func Stop(ctx context.Context)

Types

type Config

type Config struct {
	ServiceName string `json:"service_name"`

	CollectMetrics bool `json:"collect_metrics"`
	MetricsPort    int  `json:"metrics_port"`

	CollectTraces  bool   `json:"collect_traces"`
	JaegerEndpoint string `json:"jaeger_endpoint"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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