We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2e09b3 commit 4203e2dCopy full SHA for 4203e2d
pkg/tracing/plugin/otlp.go
@@ -96,14 +96,14 @@ func init() {
96
return nil, err
97
}
98
99
- //get TracingProcessorPlugin which is a dependency
100
- plugins, err := ic.GetByType(plugins.TracingProcessorPlugin)
+ // get TracingProcessorPlugin which is a dependency
+ tracingProcessors, err := ic.GetByType(plugins.TracingProcessorPlugin)
101
if err != nil {
102
return nil, fmt.Errorf("failed to get tracing processors: %w", err)
103
104
105
- procs := make([]trace.SpanProcessor, 0, len(plugins))
106
- for _, p := range plugins {
+ procs := make([]trace.SpanProcessor, 0, len(tracingProcessors))
+ for _, p := range tracingProcessors {
107
procs = append(procs, p.(trace.SpanProcessor))
108
109
0 commit comments