docs: reword tracing config descriptions to be consistent

This commit is contained in:
Kevin Pollet
2021-09-29 10:40:14 +02:00
committed by GitHub
parent 8d739c411b
commit d28bcf24e5
15 changed files with 156 additions and 149 deletions

View File

@@ -45,8 +45,8 @@ type Backend interface {
// Tracing middleware.
type Tracing struct {
ServiceName string `description:"Set the name for this service" export:"true"`
SpanNameLimit int `description:"Set the maximum character limit for Span names (default 0 = no limit)" export:"true"`
ServiceName string `description:"Sets the name for this service" export:"true"`
SpanNameLimit int `description:"Sets the maximum character limit for span names (default 0 = no limit)" export:"true"`
tracer opentracing.Tracer
closer io.Closer