traces

package
v0.0.0-...-5655933 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 14 Imported by: 0

README

traces

Categraf simply wrapped the OpenTelemetry Collector, which means you can get a full support for recving data from and exporting to popular trace vendors, such as the Jaeger and Zipkin.

We only support the common components as default. If you want more, simply add the new ones to components.go, and make sure you configure that in the conf.

For more details, see the official docs:

Configuration

Here is the examples.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

Collector simply wrapped the OpenTelemetry Collector, which means you can get a full support for recving data from and exporting to popular trace vendors (eg. Jaeger or Zipkin). For more details, see the official docs:

https://opentelemetry.io/docs/collector/getting-started
https://github.com/open-telemetry/opentelemetry-collector

func New

func New(cfg *traces.Config) (*Collector, error)

New make a Collector instance

func (*Collector) Run

func (c *Collector) Run(ctx context.Context) error

Run starts the collector

func (*Collector) Shutdown

func (c *Collector) Shutdown(ctx context.Context) error

Shutdown stops the collector

Jump to

Keyboard shortcuts

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