diff --git a/exporter/exporterhelper/obsreport.go b/exporter/exporterhelper/obsreport.go index 0836363bb74..87fc830e7fe 100644 --- a/exporter/exporterhelper/obsreport.go +++ b/exporter/exporterhelper/obsreport.go @@ -83,7 +83,7 @@ func newInstruments(registry *metric.Registry) *instruments { return insts } -// obsExporter is a helper to add observability to a component.Exporter. +// obsExporter is a helper to add observability to an exporter. type obsExporter struct { *obsreport.Exporter failedToEnqueueTraceSpansEntry *metric.Int64CumulativeEntry diff --git a/obsreport/obsreport_exporter.go b/obsreport/obsreport_exporter.go index f80e0035402..3e6bb11fe78 100644 --- a/obsreport/obsreport_exporter.go +++ b/obsreport/obsreport_exporter.go @@ -38,7 +38,7 @@ const ( exporterScope = scopeName + nameSep + exporterName ) -// Exporter is a helper to add observability to a component.Exporter. +// Exporter is a helper to add observability to an exporter. type Exporter struct { level configtelemetry.Level spanNamePrefix string diff --git a/obsreport/obsreport_processor.go b/obsreport/obsreport_processor.go index 48f620d025b..4029bd8d251 100644 --- a/obsreport/obsreport_processor.go +++ b/obsreport/obsreport_processor.go @@ -51,7 +51,7 @@ func BuildProcessorCustomMetricName(configType, metric string) string { return componentPrefix + configType + obsmetrics.NameSep + metric } -// Processor is a helper to add observability to a component.Processor. +// Processor is a helper to add observability to a processor. type Processor struct { level configtelemetry.Level mutators []tag.Mutator diff --git a/obsreport/obsreport_receiver.go b/obsreport/obsreport_receiver.go index 09fd2a07381..7cb4682030a 100644 --- a/obsreport/obsreport_receiver.go +++ b/obsreport/obsreport_receiver.go @@ -38,7 +38,7 @@ const ( receiverScope = scopeName + nameSep + receiverName ) -// Receiver is a helper to add observability to a receiver.Receiver. +// Receiver is a helper to add observability to a receiver. type Receiver struct { level configtelemetry.Level spanNamePrefix string diff --git a/obsreport/obsreport_scraper.go b/obsreport/obsreport_scraper.go index 4a2e2f0620c..3c88435b9f7 100644 --- a/obsreport/obsreport_scraper.go +++ b/obsreport/obsreport_scraper.go @@ -39,7 +39,7 @@ var ( scraperScope = scopeName + nameSep + scraperName ) -// Scraper is a helper to add observability to a component.Scraper. +// Scraper is a helper to add observability to a scraper. type Scraper struct { level configtelemetry.Level receiverID component.ID