Skip to content

Commit 3b3a894

Browse files
author
Alex Boten
committed
[chore] clean up old references in docs
This removes the remaining references to components living in the `component` module. Fixes open-telemetry#6578 Signed-off-by: Alex Boten <[email protected]>
1 parent 9f776d0 commit 3b3a894

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

exporter/exporterhelper/obsreport.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func newInstruments(registry *metric.Registry) *instruments {
8383
return insts
8484
}
8585

86-
// obsExporter is a helper to add observability to a component.Exporter.
86+
// obsExporter is a helper to add observability to an exporter.
8787
type obsExporter struct {
8888
*obsreport.Exporter
8989
failedToEnqueueTraceSpansEntry *metric.Int64CumulativeEntry

obsreport/obsreport_exporter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
exporterScope = scopeName + nameSep + exporterName
3939
)
4040

41-
// Exporter is a helper to add observability to a component.Exporter.
41+
// Exporter is a helper to add observability to an exporter.
4242
type Exporter struct {
4343
level configtelemetry.Level
4444
spanNamePrefix string

obsreport/obsreport_processor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func BuildProcessorCustomMetricName(configType, metric string) string {
5151
return componentPrefix + configType + obsmetrics.NameSep + metric
5252
}
5353

54-
// Processor is a helper to add observability to a component.Processor.
54+
// Processor is a helper to add observability to a processor.
5555
type Processor struct {
5656
level configtelemetry.Level
5757
mutators []tag.Mutator

obsreport/obsreport_receiver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
receiverScope = scopeName + nameSep + receiverName
3939
)
4040

41-
// Receiver is a helper to add observability to a receiver.Receiver.
41+
// Receiver is a helper to add observability to a receiver.
4242
type Receiver struct {
4343
level configtelemetry.Level
4444
spanNamePrefix string

obsreport/obsreport_scraper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var (
3939
scraperScope = scopeName + nameSep + scraperName
4040
)
4141

42-
// Scraper is a helper to add observability to a component.Scraper.
42+
// Scraper is a helper to add observability to a scraper.
4343
type Scraper struct {
4444
level configtelemetry.Level
4545
receiverID component.ID

0 commit comments

Comments
 (0)