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.
Click to show internal directories.
Click to hide internal directories.