signoz

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	name string,
	opts ...Option,
) (core.TracerProvider, error)

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithCollectorURL

func WithCollectorURL(url string) Option

func WithEnvironment

func WithEnvironment(env string) Option

WithEnvironment configures `service.environment` resource attribute, for example, `production`.

func WithHeaders

func WithHeaders(envs map[string]string) Option

func WithVersion

func WithVersion(serviceVersion string) Option

WithServiceVersion configures `service.version` resource attribute, for example, `1.0.0`.

Jump to

Keyboard shortcuts

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