Categorygithub.com/rmscoal/tengcorux/go-redis/plugin/tracing
modulepackage
0.1.1
Repository: https://github.com/rmscoal/tengcorux.git
Documentation: pkg.go.dev

# README

go-redis Tracing Plugin

This package is inspired by redisotel however re-written for tengcorux's own tracer package.

The go-redis tracing plugin adds hooks that creates span and injects attributes when dialing redis, processing commands, and processing pipeline commands. Such that, we are able to see what query was executed to redis and so on.

# Functions

IncludeAddress determines to include redis address in span attributes.
InstrumentTracing automatically registers hook given the redis instance.
NewHook creates a new Tracing instance.
No description provided by the author
WithAttributes adds given attributes to the span later on.
WithClientType determines the redis client type.
WithConnectionString add connection string attribute.
WithServerAddress adds redis server address to attributes.
WithSpanNameGenerator replaces the default span name generator if the given field value is not nil.

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author