You've already forked opentelemetry-go
							
							
				mirror of
				https://github.com/open-telemetry/opentelemetry-go.git
				synced 2025-10-31 00:07:40 +02:00 
			
		
		
		
	chore: adds vanity import for files that don't have it. (#1297)
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							911d7be43d
						
					
				
				
					commit
					e22a48de5a
				
			| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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 { | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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. | ||||
|   | ||||
| @@ -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. | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -14,7 +14,7 @@ | ||||
|  | ||||
| //go:generate stringer -type=InstrumentKind | ||||
|  | ||||
| package otel | ||||
| package otel // import "go.opentelemetry.io/otel" | ||||
|  | ||||
| import ( | ||||
| 	"context" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|  | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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 { | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|  | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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{} | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -14,7 +14,7 @@ | ||||
|  | ||||
| // +build go1.11 | ||||
|  | ||||
| package trace | ||||
| package trace // import "go.opentelemetry.io/otel/sdk/trace" | ||||
|  | ||||
| import ( | ||||
| 	"context" | ||||
|   | ||||
| @@ -14,7 +14,7 @@ | ||||
|  | ||||
| // +build !go1.11 | ||||
|  | ||||
| package trace | ||||
| package trace // import "go.opentelemetry.io/otel/sdk/trace" | ||||
|  | ||||
| import ( | ||||
| 	"context" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|  | ||||
|   | ||||
| @@ -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" | ||||
|  | ||||
|   | ||||
							
								
								
									
										2
									
								
								trace.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								trace.go
									
									
									
									
									
								
							| @@ -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" | ||||
|   | ||||
| @@ -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" | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user