keelgotsrpcmiddleware

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Telemetry

func Telemetry(opts ...TelemetryOption) middleware.Middleware

Telemetry middleware

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

Jump to

Keyboard shortcuts

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