rpctracer

package
v3.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package rpctracer implements a gRPC tracing middleware.

Index

Constants

View Source
const TracerHook = "tracer"

TracerHook is the name of the namespace hook.

Variables

This section is empty.

Functions

func StreamTracerHook

func StreamTracerHook(name string, opts ...trace.TracerOption) hooks.StreamHandlerMiddleware

StreamTracerHook adds the tracer to the context of the stream.

func UnaryTracerHook

func UnaryTracerHook(name string, opts ...trace.TracerOption) hooks.UnaryHandlerMiddleware

UnaryTracerHook adds the tracer to the context of the unary call.

Types

This section is empty.

Jump to

Keyboard shortcuts

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