Documentation ¶
Overview ¶
This package implements integration between echo (https://github.com/labstack/echo) and OpenTelemetry.
import "github.com/americanas-go/ignite/labstack/echo.v4/plugins/contrib/opentelemetry/otelecho.v1"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
Options represents the opentelemetry plugin for echo server options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.
type OtelEcho ¶
type OtelEcho struct {
// contains filtered or unexported fields
}
OtelEcho represents opentelemetry plugin for echo server.
func NewOtelEcho ¶
NewOtelEcho returns a new opentelemetry plugin with default options.
func NewOtelEchoWithConfigPath ¶
NewOtelEchoWithConfigPath returns a new opentelemetry plugin with options from config path.
func NewOtelEchoWithOptions ¶
NewOtelEchoWithOptions returns a new opentelemetry plugin with options.