mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-04-04 22:14:17 +02:00
replace import with vanity url go.opentelemetry.io. (#54)
This commit is contained in:
parent
961121698b
commit
eed647d11f
@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/registry"
|
"go.opentelemetry.io/api/registry"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Key struct {
|
type Key struct {
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
package event
|
package event
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Event interface provides methods to retrieve Event properties.
|
// Event interface provides methods to retrieve Event properties.
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package key
|
package key
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/registry"
|
"go.opentelemetry.io/api/registry"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AnyValue struct{}
|
type AnyValue struct{}
|
||||||
|
@ -17,9 +17,9 @@ package metric
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/registry"
|
"go.opentelemetry.io/api/registry"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/unit"
|
"go.opentelemetry.io/api/unit"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MetricType int
|
type MetricType int
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
package metric
|
package metric
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/registry"
|
"go.opentelemetry.io/api/registry"
|
||||||
)
|
)
|
||||||
|
|
||||||
func registerMetric(name string, mtype MetricType, opts []Option, metric *Handle) {
|
func registerMetric(name string, mtype MetricType, opts []Option, metric *Handle) {
|
||||||
|
@ -3,7 +3,7 @@ package metric
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
type noopMeter struct{}
|
type noopMeter struct{}
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
package registry
|
package registry
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/unit"
|
"go.opentelemetry.io/api/unit"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Sequence uint64
|
type Sequence uint64
|
||||||
|
@ -18,8 +18,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/registry"
|
"go.opentelemetry.io/api/registry"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MeasureHandle struct {
|
type MeasureHandle struct {
|
||||||
|
@ -17,7 +17,7 @@ package tag
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ctxTagsType struct{}
|
type ctxTagsType struct{}
|
||||||
|
@ -18,7 +18,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"runtime/pprof"
|
"runtime/pprof"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
type tagContent struct {
|
type tagContent struct {
|
||||||
|
@ -20,9 +20,9 @@ import (
|
|||||||
|
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/event"
|
"go.opentelemetry.io/api/event"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/tag"
|
"go.opentelemetry.io/api/tag"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Tracer interface {
|
type Tracer interface {
|
||||||
|
@ -19,9 +19,9 @@ import (
|
|||||||
|
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/event"
|
"go.opentelemetry.io/api/event"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/tag"
|
"go.opentelemetry.io/api/tag"
|
||||||
)
|
)
|
||||||
|
|
||||||
type noopSpan struct {
|
type noopSpan struct {
|
||||||
|
@ -17,7 +17,7 @@ package trace
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
type noopTracer struct{}
|
type noopTracer struct{}
|
||||||
|
@ -17,13 +17,13 @@ package main
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/key"
|
"go.opentelemetry.io/api/key"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/metric"
|
"go.opentelemetry.io/api/metric"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/registry"
|
"go.opentelemetry.io/api/registry"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/stats"
|
"go.opentelemetry.io/api/stats"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/tag"
|
"go.opentelemetry.io/api/tag"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/trace"
|
"go.opentelemetry.io/api/trace"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/sdk/event"
|
"go.opentelemetry.io/experimental/streaming/sdk/event"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -22,10 +22,10 @@ import (
|
|||||||
|
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/key"
|
"go.opentelemetry.io/api/key"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/tag"
|
"go.opentelemetry.io/api/tag"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/trace"
|
"go.opentelemetry.io/api/trace"
|
||||||
"github.com/open-telemetry/opentelemetry-go/plugin/httptrace"
|
"go.opentelemetry.io/plugin/httptrace"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -18,10 +18,10 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/key"
|
"go.opentelemetry.io/api/key"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/tag"
|
"go.opentelemetry.io/api/tag"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/trace"
|
"go.opentelemetry.io/api/trace"
|
||||||
"github.com/open-telemetry/opentelemetry-go/plugin/httptrace"
|
"go.opentelemetry.io/plugin/httptrace"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -18,7 +18,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Buffer struct {
|
type Buffer struct {
|
||||||
|
@ -20,7 +20,7 @@ import (
|
|||||||
"plugin"
|
"plugin"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TODO add buffer support directly, eliminate stdout
|
// TODO add buffer support directly, eliminate stdout
|
||||||
|
@ -22,9 +22,9 @@ import (
|
|||||||
|
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/stats"
|
"go.opentelemetry.io/api/stats"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/tag"
|
"go.opentelemetry.io/api/tag"
|
||||||
)
|
)
|
||||||
|
|
||||||
type EventType int
|
type EventType int
|
||||||
|
@ -18,10 +18,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/key"
|
"go.opentelemetry.io/api/key"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader"
|
"go.opentelemetry.io/experimental/streaming/exporter/reader"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/sdk/trace"
|
"go.opentelemetry.io/experimental/streaming/sdk/trace"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -21,11 +21,11 @@ import (
|
|||||||
|
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/event"
|
"go.opentelemetry.io/api/event"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/stats"
|
"go.opentelemetry.io/api/stats"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/tag"
|
"go.opentelemetry.io/api/tag"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Reader interface {
|
type Reader interface {
|
||||||
|
@ -17,8 +17,8 @@ package format
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader/format"
|
"go.opentelemetry.io/experimental/streaming/exporter/reader/format"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spandata"
|
"go.opentelemetry.io/experimental/streaming/exporter/spandata"
|
||||||
)
|
)
|
||||||
|
|
||||||
func AppendSpan(buf *strings.Builder, data *spandata.Span) {
|
func AppendSpan(buf *strings.Builder, data *spandata.Span) {
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
package spandata
|
package spandata
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader"
|
"go.opentelemetry.io/experimental/streaming/exporter/reader"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Reader interface {
|
type Reader interface {
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
package install
|
package install
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spanlog"
|
"go.opentelemetry.io/experimental/streaming/exporter/spanlog"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Use this import:
|
// Use this import:
|
||||||
//
|
//
|
||||||
// import _ "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spanlog/install"
|
// import _ "go.opentelemetry.io/experimental/streaming/exporter/spanlog/install"
|
||||||
//
|
//
|
||||||
// to include the spanlog exporter by default.
|
// to include the spanlog exporter by default.
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spanlog"
|
"go.opentelemetry.io/experimental/streaming/exporter/spanlog"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -18,10 +18,10 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/buffer"
|
"go.opentelemetry.io/experimental/streaming/exporter/buffer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spandata"
|
"go.opentelemetry.io/experimental/streaming/exporter/spandata"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spandata/format"
|
"go.opentelemetry.io/experimental/streaming/exporter/spandata/format"
|
||||||
)
|
)
|
||||||
|
|
||||||
type spanLog struct{}
|
type spanLog struct{}
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
package install
|
package install
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stderr"
|
"go.opentelemetry.io/experimental/streaming/exporter/stderr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Use this import:
|
// Use this import:
|
||||||
//
|
//
|
||||||
// import _ "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stderr/install"
|
// import _ "go.opentelemetry.io/experimental/streaming/exporter/stderr/install"
|
||||||
//
|
//
|
||||||
// to include the stderr exporter by default.
|
// to include the stderr exporter by default.
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stderr"
|
"go.opentelemetry.io/experimental/streaming/exporter/stderr"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -17,9 +17,9 @@ package stderr
|
|||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader"
|
"go.opentelemetry.io/experimental/streaming/exporter/reader"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader/format"
|
"go.opentelemetry.io/experimental/streaming/exporter/reader/format"
|
||||||
)
|
)
|
||||||
|
|
||||||
type stderrLog struct{}
|
type stderrLog struct{}
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
package install
|
package install
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stdout"
|
"go.opentelemetry.io/experimental/streaming/exporter/stdout"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Use this import:
|
// Use this import:
|
||||||
//
|
//
|
||||||
// import _ "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stdout/install"
|
// import _ "go.opentelemetry.io/experimental/streaming/exporter/stdout/install"
|
||||||
//
|
//
|
||||||
// to include the stderr exporter by default.
|
// to include the stderr exporter by default.
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stdout"
|
"go.opentelemetry.io/experimental/streaming/exporter/stdout"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -17,9 +17,9 @@ package stdout
|
|||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader"
|
"go.opentelemetry.io/experimental/streaming/exporter/reader"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader/format"
|
"go.opentelemetry.io/experimental/streaming/exporter/reader/format"
|
||||||
)
|
)
|
||||||
|
|
||||||
type stdoutLog struct{}
|
type stdoutLog struct{}
|
||||||
|
@ -17,8 +17,8 @@ package event
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
apievent "github.com/open-telemetry/opentelemetry-go/api/event"
|
apievent "go.opentelemetry.io/api/event"
|
||||||
)
|
)
|
||||||
|
|
||||||
type event struct {
|
type event struct {
|
||||||
|
@ -20,11 +20,11 @@ import (
|
|||||||
|
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/event"
|
"go.opentelemetry.io/api/event"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/tag"
|
"go.opentelemetry.io/api/tag"
|
||||||
apitrace "github.com/open-telemetry/opentelemetry-go/api/trace"
|
apitrace "go.opentelemetry.io/api/trace"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
)
|
)
|
||||||
|
|
||||||
type span struct {
|
type span struct {
|
||||||
|
@ -18,13 +18,13 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/key"
|
"go.opentelemetry.io/api/key"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/tag"
|
"go.opentelemetry.io/api/tag"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/trace"
|
"go.opentelemetry.io/api/trace"
|
||||||
apitrace "github.com/open-telemetry/opentelemetry-go/api/trace"
|
apitrace "go.opentelemetry.io/api/trace"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer"
|
"go.opentelemetry.io/experimental/streaming/exporter/observer"
|
||||||
"github.com/open-telemetry/opentelemetry-go/experimental/streaming/sdk/event"
|
"go.opentelemetry.io/experimental/streaming/sdk/event"
|
||||||
)
|
)
|
||||||
|
|
||||||
type tracer struct {
|
type tracer struct {
|
||||||
|
3
go.mod
3
go.mod
@ -1,4 +1,4 @@
|
|||||||
module github.com/open-telemetry/opentelemetry-go
|
module go.opentelemetry.io
|
||||||
|
|
||||||
go 1.12
|
go 1.12
|
||||||
|
|
||||||
@ -20,7 +20,6 @@ require (
|
|||||||
golang.org/x/sys v0.0.0-20190614160838-b47fdc937951 // indirect
|
golang.org/x/sys v0.0.0-20190614160838-b47fdc937951 // indirect
|
||||||
golang.org/x/text v0.3.2 // indirect
|
golang.org/x/text v0.3.2 // indirect
|
||||||
golang.org/x/tools v0.0.0-20190521203540-521d6ed310dd
|
golang.org/x/tools v0.0.0-20190521203540-521d6ed310dd
|
||||||
google.golang.org/appengine v1.4.0 // indirect
|
|
||||||
google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873 // indirect
|
google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873 // indirect
|
||||||
google.golang.org/grpc v1.21.1
|
google.golang.org/grpc v1.21.1
|
||||||
)
|
)
|
||||||
|
@ -19,7 +19,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"net/http/httptrace"
|
"net/http/httptrace"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/trace"
|
"go.opentelemetry.io/api/trace"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Client
|
// Client
|
||||||
|
@ -23,9 +23,9 @@ import (
|
|||||||
|
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/key"
|
"go.opentelemetry.io/api/key"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/trace"
|
"go.opentelemetry.io/api/trace"
|
||||||
)
|
)
|
||||||
|
|
||||||
type clientLevel struct {
|
type clientLevel struct {
|
||||||
|
@ -21,9 +21,9 @@ import (
|
|||||||
"github.com/lightstep/tracecontext.go"
|
"github.com/lightstep/tracecontext.go"
|
||||||
"github.com/lightstep/tracecontext.go/tracestate"
|
"github.com/lightstep/tracecontext.go/tracestate"
|
||||||
|
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/core"
|
"go.opentelemetry.io/api/core"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/key"
|
"go.opentelemetry.io/api/key"
|
||||||
"github.com/open-telemetry/opentelemetry-go/api/tag"
|
"go.opentelemetry.io/api/tag"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user