Documentation ¶
Index ¶
Constants ¶
View Source
const LogCorrelationIDName = "correlation_id"
LogCorrelationIDName wellknown name
View Source
const LogParentName = "parent"
LogParentName wellknown name
View Source
const LogSpanName = "span"
LogSpanName wellknown name
View Source
const XCorrelationIDName = "x-correlation-id"
XCorrelationIDName wellknown name
View Source
const XParentName = "x-parent"
XParentName wellknown name
View Source
const XRequestID = "x-request-id"
XRequestID wellknown name
View Source
const XSpanName = "x-span"
XSpanName wellknown name
Variables ¶
This section is empty.
Functions ¶
func EnsureContextLoggingUnaryServerInterceptor ¶
func EnsureContextLoggingUnaryServerInterceptor() grpc.UnaryServerInterceptor
LoggingUnaryServerInterceptor returns a new unary server interceptors that performs request logging in JSON format
func EnsureCorrelationIDUnaryServerInterceptor ¶
func EnsureCorrelationIDUnaryServerInterceptor() grpc.UnaryServerInterceptor
func LoggingUnaryServerInterceptor ¶
func LoggingUnaryServerInterceptor() grpc.UnaryServerInterceptor
LoggingUnaryServerInterceptor returns a new unary server interceptors that performs request logging in JSON format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.