1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-06-27 00:21:15 +02:00

chore: adds vanity import for files that don't have it. (#1297)

This commit is contained in:
José Carlos Chávez
2020-11-04 18:10:58 +01:00
committed by GitHub
parent 911d7be43d
commit e22a48de5a
87 changed files with 87 additions and 87 deletions

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otel
package otel // import "go.opentelemetry.io/otel"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package opentracing
package opentracing // import "go.opentelemetry.io/otel/bridge/opentracing"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package migration
package migration // import "go.opentelemetry.io/otel/bridge/opentracing/migration"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package opentracing
package opentracing // import "go.opentelemetry.io/otel/bridge/opentracing"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package opentracing
package opentracing // import "go.opentelemetry.io/otel/bridge/opentracing"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otel
package otel // import "go.opentelemetry.io/otel"
import (
"time"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otel
package otel // import "go.opentelemetry.io/otel"
// ErrorHandler handles irremediable events.
type ErrorHandler interface {

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package foo
package foo // import "go.opentelemetry.io/otel/example/namedtracer/foo"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package prometheus
package prometheus // import "go.opentelemetry.io/otel/exporters/metric/prometheus"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package prometheus
package prometheus // import "go.opentelemetry.io/otel/exporters/metric/prometheus"
import (
"strings"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otlp
package otlp // import "go.opentelemetry.io/otel/exporters/otlp"
import (
"math/rand"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otlp
package otlp // import "go.opentelemetry.io/otel/exporters/otlp"
import (
"time"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otlp
package otlp // import "go.opentelemetry.io/otel/exporters/otlp"
// This code was based on
// contrib.go.opencensus.io/exporter/ocagent/connection.go

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package stdout
package stdout // import "go.opentelemetry.io/otel/exporters/stdout"
import (
"io"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package stdout
package stdout // import "go.opentelemetry.io/otel/exporters/stdout"
import (
"go.opentelemetry.io/otel"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package stdout
package stdout // import "go.opentelemetry.io/otel/exporters/stdout"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package stdout
package stdout // import "go.opentelemetry.io/otel/exporters/stdout"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package jaeger
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"
import (
"fmt"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package jaeger
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"
import (
"errors"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package jaeger
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"
import (
"context"

View File

@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package jaeger
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"
import (
"fmt"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package jaeger
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"
import (
"bytes"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package zipkin
package zipkin // import "go.opentelemetry.io/otel/exporters/trace/zipkin"
import (
"encoding/binary"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package zipkin
package zipkin // import "go.opentelemetry.io/otel/exporters/trace/zipkin"
import (
"bytes"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package global
package global // import "go.opentelemetry.io/otel/global"
import (
"log"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package global
package global // import "go.opentelemetry.io/otel/global"
import (
"go.opentelemetry.io/otel"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package global
package global // import "go.opentelemetry.io/otel/global"
import (
"go.opentelemetry.io/otel"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package global
package global // import "go.opentelemetry.io/otel/global"
import (
"go.opentelemetry.io/otel"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package label
package label // import "go.opentelemetry.io/otel/label"
import (
"bytes"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package label
package label // import "go.opentelemetry.io/otel/label"
// Iterator allows iterating over the set of labels in order,
// sorted by key.

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package label
package label // import "go.opentelemetry.io/otel/label"
// Key represents the key part in key-value pairs. It's a string. The
// allowed character set in the key depends on the use of the key.

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package label
package label // import "go.opentelemetry.io/otel/label"
import (
"encoding/json"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package label
package label // import "go.opentelemetry.io/otel/label"
import (
"encoding/json"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package label
package label // import "go.opentelemetry.io/otel/label"
import (
"encoding/json"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otel
package otel // import "go.opentelemetry.io/otel"
import (
"context"

View File

@ -14,7 +14,7 @@
//go:generate stringer -type=InstrumentKind
package otel
package otel // import "go.opentelemetry.io/otel"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otel
package otel // import "go.opentelemetry.io/otel"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otel
package otel // import "go.opentelemetry.io/otel"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otel
package otel // import "go.opentelemetry.io/otel"
//go:generate stringer -type=NumberKind

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"
import (
"time"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"
import (
"go.opentelemetry.io/otel"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"
import (
"sync"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"
import (
"fmt"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otel
package otel // import "go.opentelemetry.io/otel"
import "context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package propagators
package propagators // import "go.opentelemetry.io/otel/propagators"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package propagators
package propagators // import "go.opentelemetry.io/otel/propagators"
import (
"context"

View File

@ -23,7 +23,7 @@ evolving OpenTelemetry specification and user feedback.
For more information see
[this](https://github.com/open-telemetry/oteps/blob/master/text/0083-component.md).
*/
package instrumentation
package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation"
// Library represents the instrumentation library.
type Library struct {

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package aggregatortest
package aggregatortest // import "go.opentelemetry.io/otel/sdk/metric/aggregator/aggregatortest"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package metric
package metric // import "go.opentelemetry.io/otel/sdk/metric"
import "unsafe"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package controllertest
package controllertest // import "go.opentelemetry.io/otel/sdk/metric/controller/controllertest"
import (
"time"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package pull
package pull // import "go.opentelemetry.io/otel/sdk/metric/controller/pull"
import (
"time"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package push
package push // import "go.opentelemetry.io/otel/sdk/metric/controller/push"
import (
"time"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package processortest
package processortest // import "go.opentelemetry.io/otel/sdk/metric/processor/processortest"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package metric
package metric // import "go.opentelemetry.io/otel/sdk/metric"
import (
"sync/atomic"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package metric
package metric // import "go.opentelemetry.io/otel/sdk/metric"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package resource
package resource // import "go.opentelemetry.io/otel/sdk/resource"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package resource
package resource // import "go.opentelemetry.io/otel/sdk/resource"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package resource
package resource // import "go.opentelemetry.io/otel/sdk/resource"
import (
"context"

View File

@ -29,4 +29,4 @@
// OTEL_RESOURCE_ATTRIBUTES the FromEnv Detector can be used. It will interpret
// the value as a list of comma delimited key/value pairs
// (e.g. `<key1>=<value1>,<key2>=<value2>,...`).
package resource
package resource // import "go.opentelemetry.io/otel/sdk/resource"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package resource
package resource // import "go.opentelemetry.io/otel/sdk/resource"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package resource
package resource // import "go.opentelemetry.io/otel/sdk/resource"
import (
"go.opentelemetry.io/otel/label"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"container/list"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"go.opentelemetry.io/otel/sdk/resource"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
type evictedQueue struct {
queue []interface{}

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"math/rand"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"encoding/binary"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"errors"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
crand "crypto/rand"

View File

@ -14,7 +14,7 @@
// +build go1.11
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"context"

View File

@ -14,7 +14,7 @@
// +build !go1.11
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package trace
package trace // import "go.opentelemetry.io/otel/sdk/trace"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package semconv
package semconv // import "go.opentelemetry.io/otel/semconv"
import (
"fmt"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package semconv
package semconv // import "go.opentelemetry.io/otel/semconv"
import "go.opentelemetry.io/otel/label"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package semconv
package semconv // import "go.opentelemetry.io/otel/semconv"
import "go.opentelemetry.io/otel/label"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otel
package otel // import "go.opentelemetry.io/otel"
import (
"bytes"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package otel
package otel // import "go.opentelemetry.io/otel"
import (
"context"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package unit
package unit // import "go.opentelemetry.io/otel/unit"
type Unit string