mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-11-21 16:46:38 +02:00
Remove examples (#5930)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/5801 Remove all examples under go.opentelemetry.io/otel/example as they are moved to Contrib repository.
This commit is contained in:
parent
2a50fab505
commit
06ee6f2be7
8
.gitignore
vendored
8
.gitignore
vendored
@ -12,11 +12,3 @@ go.work
|
||||
go.work.sum
|
||||
|
||||
gen/
|
||||
|
||||
/example/dice/dice
|
||||
/example/namedtracer/namedtracer
|
||||
/example/otel-collector/otel-collector
|
||||
/example/opencensus/opencensus
|
||||
/example/passthrough/passthrough
|
||||
/example/prometheus/prometheus
|
||||
/example/zipkin/zipkin
|
||||
|
@ -127,8 +127,6 @@ linters-settings:
|
||||
- "**/metric/**/*.go"
|
||||
- "**/bridge/*.go"
|
||||
- "**/bridge/**/*.go"
|
||||
- "**/example/*.go"
|
||||
- "**/example/**/*.go"
|
||||
- "**/trace/*.go"
|
||||
- "**/trace/**/*.go"
|
||||
- "**/log/*.go"
|
||||
|
@ -41,6 +41,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
||||
- Support scope attributes and make them as identifying for `Logger` in `go.opentelemetry.io/otel` and `go.opentelemetry.io/otel/sdk/log`. (#5925)
|
||||
- Make schema URL and scope attributes as identifying for `Tracer` in `go.opentelemetry.io/otel/bridge/opentracing`. (#5931)
|
||||
|
||||
### Removed
|
||||
|
||||
- Remove all examples under `go.opentelemetry.io/otel/example` as they are moved to [Contrib repository](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/examples). (#5930)
|
||||
|
||||
<!-- Released section -->
|
||||
<!-- Don't change this section unless doing release -->
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
module go.opentelemetry.io/otel/example/dice
|
||||
|
||||
go 1.22
|
@ -1,10 +0,0 @@
|
||||
// Copyright The OpenTelemetry Authors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Dice is the "Roll the dice" application.
|
||||
//
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
package main
|
||||
|
||||
func main() {
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
module go.opentelemetry.io/otel/example/namedtracer
|
||||
|
||||
go 1.22
|
@ -1,10 +0,0 @@
|
||||
// Copyright The OpenTelemetry Authors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Named tracer example.
|
||||
//
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
package main
|
||||
|
||||
func main() {
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
module go.opentelemetry.io/otel/example/opencensus
|
||||
|
||||
go 1.22
|
@ -1,10 +0,0 @@
|
||||
// Copyright The OpenTelemetry Authors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// OpenCensus example.
|
||||
//
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
package main
|
||||
|
||||
func main() {
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
module go.opentelemetry.io/otel/example/otel-collector
|
||||
|
||||
go 1.22
|
@ -1 +0,0 @@
|
||||
|
@ -1,10 +0,0 @@
|
||||
// Copyright The OpenTelemetry Authors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// OpenTelemetry Collector example.
|
||||
//
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
package main
|
||||
|
||||
func main() {
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
module go.opentelemetry.io/otel/example/passthrough
|
||||
|
||||
go 1.22
|
@ -1,10 +0,0 @@
|
||||
// Copyright The OpenTelemetry Authors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Passthrough example.
|
||||
//
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
package main
|
||||
|
||||
func main() {
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
module go.opentelemetry.io/otel/example/prometheus
|
||||
|
||||
go 1.22
|
@ -1,10 +0,0 @@
|
||||
// Copyright The OpenTelemetry Authors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package main provides a code sample of the Prometheus exporter.
|
||||
//
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
package main
|
||||
|
||||
func main() {
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
module go.opentelemetry.io/otel/example/zipkin
|
||||
|
||||
go 1.22
|
@ -1,10 +0,0 @@
|
||||
// Copyright The OpenTelemetry Authors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package main provides a code sample of the Prometheus exporter.
|
||||
//
|
||||
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
|
||||
package main
|
||||
|
||||
func main() {
|
||||
}
|
@ -10,12 +10,6 @@ module-sets:
|
||||
- go.opentelemetry.io/otel/bridge/opencensus/test
|
||||
- go.opentelemetry.io/otel/bridge/opentracing
|
||||
- go.opentelemetry.io/otel/bridge/opentracing/test
|
||||
- go.opentelemetry.io/otel/example/dice
|
||||
- go.opentelemetry.io/otel/example/namedtracer
|
||||
- go.opentelemetry.io/otel/example/opencensus
|
||||
- go.opentelemetry.io/otel/example/otel-collector
|
||||
- go.opentelemetry.io/otel/example/passthrough
|
||||
- go.opentelemetry.io/otel/example/zipkin
|
||||
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
|
||||
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
|
||||
- go.opentelemetry.io/otel/exporters/otlp/otlptrace
|
||||
@ -31,7 +25,6 @@ module-sets:
|
||||
experimental-metrics:
|
||||
version: v0.53.0
|
||||
modules:
|
||||
- go.opentelemetry.io/otel/example/prometheus
|
||||
- go.opentelemetry.io/otel/exporters/prometheus
|
||||
experimental-logs:
|
||||
version: v0.7.0
|
||||
|
Loading…
Reference in New Issue
Block a user