mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-02-19 19:10:13 +02:00
exporter/metric/stdout: fix incorrect code format comments for InstallNewPipeline (#483)
Co-authored-by: Rahul Patel <rghetia@yahoo.com>
This commit is contained in:
parent
bd74f31769
commit
bfe569d699
@ -107,12 +107,13 @@ func NewRawExporter(config Config) (*Exporter, error) {
|
||||
|
||||
// InstallNewPipeline instantiates a NewExportPipeline and registers it globally.
|
||||
// Typically called as:
|
||||
// pipeline, err := stdout.InstallNewPipeline(stdout.Config{...})
|
||||
// if err != nil {
|
||||
// ...
|
||||
// }
|
||||
// defer pipeline.Stop()
|
||||
// ... Done
|
||||
//
|
||||
// pipeline, err := stdout.InstallNewPipeline(stdout.Config{...})
|
||||
// if err != nil {
|
||||
// ...
|
||||
// }
|
||||
// defer pipeline.Stop()
|
||||
// ... Done
|
||||
func InstallNewPipeline(config Config) (*push.Controller, error) {
|
||||
controller, err := NewExportPipeline(config)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user