File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
2020 "go.viam.com/utils/trace"
2121)
2222
23- // OtelDevelopmentExporter exports metrics and span to log file.
23+ // OtelDevelopmentExporter exports metrics and spans to log file.
2424type OtelDevelopmentExporter struct {
2525 mu sync.Mutex
2626 shutdown bool
@@ -38,7 +38,7 @@ type OtelDevelopmentExporter struct {
3838 outputWriter io.Writer
3939}
4040
41- // ExportSpans implements trace .SpanExporter.
41+ // ExportSpans implements [sdktrace .SpanExporter] .
4242func (e * OtelDevelopmentExporter ) ExportSpans (ctx context.Context , spans []sdktrace.ReadOnlySpan ) error {
4343 e .mu .Lock ()
4444 defer e .mu .Unlock ()
@@ -82,7 +82,8 @@ func (e *OtelDevelopmentExporter) Shutdown(ctx context.Context) error {
8282 return nil
8383}
8484
85- // OtelDevelopmentExporterOptions provides options for DevelopmentExporter.
85+ // OtelDevelopmentExporterOptions provides options for
86+ // [OtelDevelopmentExporter].
8687type OtelDevelopmentExporterOptions struct {
8788 // reportingInterval is a time interval between two successive metrics
8889 // export.
You can’t perform that action at this time.
0 commit comments