Skip to content

jacoelho/linkerd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1c149e3 · Aug 23, 2021

History

4 Commits
Aug 22, 2021
Aug 22, 2021
Aug 22, 2021
Aug 23, 2021
Aug 22, 2021
Aug 22, 2021
Aug 22, 2021
Aug 22, 2021
Aug 22, 2021

Repository files navigation

linkerd

OpenTelemetry linkerd trace propagator.

Currently supports l5d-tctx-trace set by telemetry: io.l5d.tracelog.

Usage

import (
	"net/http"

	"github.com/jacoelho/linkerd"
	"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
)

var httpClient = http.Client{Transport: otelhttp.NewTransport(
    http.DefaultTransport,
    // ...
    otelhttp.WithPropagators(linkerd.New()),
),
}

License

license

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published