elastic

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "elastic"

Name sets the name of this tracer.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ServerURL   string // Set the URL of the Elastic APM server
	SecretToken string // Set the token used to connect to Elastic APM Server
}

Config provides configuration settings for a elastic.co tracer.

func (*Config) Setup

func (c *Config) Setup(serviceName string) (opentracing.Tracer, io.Closer, error)

Setup sets up the tracer.

Jump to

Keyboard shortcuts

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