otel

package
v0.0.48-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package otel provides tools to interact with the opentelemetry golang sdk

Index

Constants

View Source
const (
	ServiceName                = "provider-ceph"
	TimeoutGatherHostResources = time.Millisecond * 500
)

Variables

This section is empty.

Functions

func RuntimeResources

func RuntimeResources() (*otelresource.Resource, error)

RuntimeResources creates an otel sdk resource struct describing the service and runtime (host, process, runtime, etc). When used together with a TracerProvider this data will be included in all traces created from it.

Types

This section is empty.

Directories

Path Synopsis
Package traces provides helper functions for tracing with OpenTelemetry SDK.
Package traces provides helper functions for tracing with OpenTelemetry SDK.

Jump to

Keyboard shortcuts

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