cloudtrace

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProjectId added in v0.0.5

func ProjectId() string

func TracerProviderOptions

func TracerProviderOptions(ctx context.Context, attrs ...attribute.KeyValue) ([]sdktrace.TracerProviderOption, error)

TracerProviderOptions returns a slice of TracerProviderOption for configuring the OpenTelemetry TracerProvider. Deprecated: use tracers.TracerProviderOptions instead.

func WithExporter added in v0.0.5

func WithExporter(projectId string) tracers.TracerProviderOption

func WithResource added in v0.0.5

func WithResource(attrs ...attribute.KeyValue) tracers.TracerProviderOption

func WithServiceName

func WithServiceName(name string) tracers.KeyValueOption

func WithVersion

func WithVersion(version string) tracers.KeyValueOption

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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