mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-16 02:47:20 +02:00
exporter/metric/prometheus: fix incorrect code format comments for InstallNewPipeline (#482)
Co-authored-by: Rahul Patel <rghetia@yahoo.com>
This commit is contained in:
parent
84d0a2afea
commit
f9a54847cc
@ -118,7 +118,9 @@ func NewRawExporter(config Config) (*Exporter, error) {
|
||||
|
||||
// InstallNewPipeline instantiates a NewExportPipeline and registers it globally.
|
||||
// Typically called as:
|
||||
//
|
||||
// pipeline, hf, err := prometheus.InstallNewPipeline(prometheus.Config{...})
|
||||
//
|
||||
// if err != nil {
|
||||
// ...
|
||||
// }
|
||||
|
Loading…
Reference in New Issue
Block a user