Skip to content

Commit

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

---------

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten authored May 9, 2023
1 parent a8a01ef commit db781bc
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 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
2 changes: 1 addition & 1 deletion processor/processorhelper/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type logProcessor struct {
consumer.Logs
}

// NewLogsProcessor creates a component.LogsProcessor that ensure context propagation and the right tags are set.
// NewLogsProcessor creates a processor.Logs that ensure context propagation and the right tags are set.
func NewLogsProcessor(
_ context.Context,
set processor.CreateSettings,
Expand Down
2 changes: 1 addition & 1 deletion processor/processorhelper/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type metricsProcessor struct {
consumer.Metrics
}

// NewMetricsProcessor creates a component.MetricsProcessor that ensure context propagation and the right tags are set.
// NewMetricsProcessor creates a processor.Metrics that ensure context propagation and the right tags are set.
func NewMetricsProcessor(
_ context.Context,
set processor.CreateSettings,
Expand Down
2 changes: 1 addition & 1 deletion processor/processorhelper/traces.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type tracesProcessor struct {
consumer.Traces
}

// NewTracesProcessor creates a component.TracesProcessor that ensure context propagation and the right tags are set.
// NewTracesProcessor creates a processor.Traces that ensure context propagation and the right tags are set.
func NewTracesProcessor(
_ context.Context,
set processor.CreateSettings,
Expand Down

0 comments on commit db781bc

Please sign in to comment.