mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-26 03:52:03 +02:00
Minor grammatical fix (#2347)
* Minor grammatical fix * Another minor correction Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
parent
43c55c3e5c
commit
d0e5dd528f
@ -39,7 +39,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
// App is an Fibonacci computation application.
|
// App is a Fibonacci computation application.
|
||||||
type App struct {
|
type App struct {
|
||||||
r io.Reader
|
r io.Reader
|
||||||
l *log.Logger
|
l *log.Logger
|
||||||
@ -296,7 +296,7 @@ To initialize the console exporter, add the following function to the `main.go`
|
|||||||
func newExporter(w io.Writer) (trace.SpanExporter, error) {
|
func newExporter(w io.Writer) (trace.SpanExporter, error) {
|
||||||
return stdouttrace.New(
|
return stdouttrace.New(
|
||||||
stdouttrace.WithWriter(w),
|
stdouttrace.WithWriter(w),
|
||||||
// Use human readable output.
|
// Use human-readable output.
|
||||||
stdouttrace.WithPrettyPrint(),
|
stdouttrace.WithPrettyPrint(),
|
||||||
// Do not print timestamps for the demo.
|
// Do not print timestamps for the demo.
|
||||||
stdouttrace.WithoutTimestamps(),
|
stdouttrace.WithoutTimestamps(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user