Documentation ¶
Overview ¶
This package implements integration between the go-resty (https://github.com/go-resty/resty) library and OpenTelemetry.
import "github.com/americanas-go/ignite/go-resty/resty.v2/plugins/contrib/dubonzi/otelresty.v1"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
func NewOptions ¶
NewOptions returns options from config file or environment vars.
type Otelresty ¶
type Otelresty struct {
// contains filtered or unexported fields
}
Otelresty represents the Opentelemetry integration for resty.
func NewOtelresty ¶
NewOtelresty returns a new Otelresty with default options.
func NewOtelrestyWithConfigPath ¶
NewOtelrestyWithConfigPath returns a new Otelresty with options from the provided path.
func NewOtelrestyWithOptions ¶
NewOtelresty returns a new Otelresty with default options.
Click to show internal directories.
Click to hide internal directories.