Skip to content

Commit

Permalink
[chore] clean up old references in docs
Browse files Browse the repository at this point in the history
This removes the remaining references to components living in the `component` module. Fixes open-telemetry#6578

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten committed May 8, 2023
1 parent 9f776d0 commit 3b3a894
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion exporter/exporterhelper/obsreport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion obsreport/obsreport_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion obsreport/obsreport_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion obsreport/obsreport_receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion obsreport/obsreport_scraper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b3a894

Please sign in to comment.