Documentation ¶
Index ¶
- func Telemetry(opts ...TelemetryOption) middleware.Middleware
- func TelemetryWithOptions(opts TelemetryOptions) middleware.Middleware
- type TelemetryOption
- func TelemetryWithExemplarsDisabled(v bool) TelemetryOption
- func TelemetryWithObserveExecution(v bool) TelemetryOption
- func TelemetryWithObserveMarshalling(v bool) TelemetryOption
- func TelemetryWithObserveUnmarshalling(v bool) TelemetryOption
- func TelemetryWithPayloadAttributeDisabled(v bool) TelemetryOption
- type TelemetryOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TelemetryWithOptions ¶ added in v0.16.1
func TelemetryWithOptions(opts TelemetryOptions) middleware.Middleware
TelemetryWithOptions middleware
Types ¶
type TelemetryOption ¶ added in v0.16.1
type TelemetryOption func(*TelemetryOptions)
func TelemetryWithExemplarsDisabled ¶ added in v0.16.1
func TelemetryWithExemplarsDisabled(v bool) TelemetryOption
TelemetryWithExemplarsDisabled middleware option
func TelemetryWithObserveExecution ¶ added in v0.16.1
func TelemetryWithObserveExecution(v bool) TelemetryOption
TelemetryWithObserveExecution middleware option
func TelemetryWithObserveMarshalling ¶ added in v0.16.1
func TelemetryWithObserveMarshalling(v bool) TelemetryOption
TelemetryWithObserveMarshalling middleware option
func TelemetryWithObserveUnmarshalling ¶ added in v0.16.1
func TelemetryWithObserveUnmarshalling(v bool) TelemetryOption
TelemetryWithObserveUnmarshalling middleware option
func TelemetryWithPayloadAttributeDisabled ¶ added in v0.16.1
func TelemetryWithPayloadAttributeDisabled(v bool) TelemetryOption
TelemetryWithPayloadAttributeDisabled middleware option
type TelemetryOptions ¶ added in v0.16.1
type TelemetryOptions struct { ExemplarsDisabled bool ObserveExecution bool ObserveMarshalling bool ObserveUnmarshalling bool PayloadAttributeDisabled bool }
func DefaultTelemetryOptions ¶ added in v0.16.1
func DefaultTelemetryOptions() TelemetryOptions
DefaultTelemetryOptions returns the default options
Click to show internal directories.
Click to hide internal directories.