Skip to content

Commit

Permalink
set noop to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
codeboten committed Jul 5, 2022
1 parent e853f6e commit 2e94233
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions component/componenttest/nop_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ func NewNopExporterFactory() component.ExporterFactory {
ExporterSettings: config.NewExporterSettings(config.NewComponentID("nop")),
}
},
component.WithTracesExporterAndStabilityLevel(createTracesExporter, component.StabilityLevelInDevelopment),
component.WithMetricsExporterAndStabilityLevel(createMetricsExporter, component.StabilityLevelInDevelopment),
component.WithLogsExporterAndStabilityLevel(createLogsExporter, component.StabilityLevelInDevelopment),
component.WithTracesExporterAndStabilityLevel(createTracesExporter, component.StabilityLevelStable),
component.WithMetricsExporterAndStabilityLevel(createMetricsExporter, component.StabilityLevelStable),
component.WithLogsExporterAndStabilityLevel(createLogsExporter, component.StabilityLevelStable),
)
}

Expand Down
6 changes: 3 additions & 3 deletions component/componenttest/nop_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ func NewNopProcessorFactory() component.ProcessorFactory {
ProcessorSettings: config.NewProcessorSettings(config.NewComponentID("nop")),
}
},
component.WithTracesProcessorAndStabilityLevel(createTracesProcessor, component.StabilityLevelInDevelopment),
component.WithMetricsProcessorAndStabilityLevel(createMetricsProcessor, component.StabilityLevelInDevelopment),
component.WithLogsProcessorAndStabilityLevel(createLogsProcessor, component.StabilityLevelInDevelopment),
component.WithTracesProcessorAndStabilityLevel(createTracesProcessor, component.StabilityLevelStable),
component.WithMetricsProcessorAndStabilityLevel(createMetricsProcessor, component.StabilityLevelStable),
component.WithLogsProcessorAndStabilityLevel(createLogsProcessor, component.StabilityLevelStable),
)
}

Expand Down
6 changes: 3 additions & 3 deletions component/componenttest/nop_receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ func NewNopReceiverFactory() component.ReceiverFactory {
ReceiverSettings: config.NewReceiverSettings(config.NewComponentID("nop")),
}
},
component.WithTracesReceiverAndStabilityLevel(createTracesReceiver, component.StabilityLevelInDevelopment),
component.WithMetricsReceiverAndStabilityLevel(createMetricsReceiver, component.StabilityLevelInDevelopment),
component.WithLogsReceiverAndStabilityLevel(createLogsReceiver, component.StabilityLevelInDevelopment))
component.WithTracesReceiverAndStabilityLevel(createTracesReceiver, component.StabilityLevelStable),
component.WithMetricsReceiverAndStabilityLevel(createMetricsReceiver, component.StabilityLevelStable),
component.WithLogsReceiverAndStabilityLevel(createLogsReceiver, component.StabilityLevelStable))
}

func createTracesReceiver(context.Context, component.ReceiverCreateSettings, config.Receiver, consumer.Traces) (component.TracesReceiver, error) {
Expand Down

0 comments on commit 2e94233

Please sign in to comment.