1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-11-30 08:46:54 +02:00

Move opencensus example to the example directory (#1359)

And update .gitignore, so the built binary does not show up in git
status.
This commit is contained in:
Krzesimir Nowak 2020-11-20 22:34:40 +01:00 committed by GitHub
parent 575df22b79
commit e0819780f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 33 additions and 28 deletions

View File

@ -46,16 +46,6 @@ updates:
schedule:
day: sunday
interval: weekly
-
package-ecosystem: gomod
directory: /bridge/opencensus/examples/bridge
labels:
- dependencies
- go
- "Skip Changelog"
schedule:
day: sunday
interval: weekly
-
package-ecosystem: gomod
directory: /example/basic
@ -86,6 +76,16 @@ updates:
schedule:
day: sunday
interval: weekly
-
package-ecosystem: gomod
directory: /example/opencensus
labels:
- dependencies
- go
- "Skip Changelog"
schedule:
day: sunday
interval: weekly
-
package-ecosystem: gomod
directory: /example/otel-collector

1
.gitignore vendored
View File

@ -17,6 +17,7 @@ gen/
/example/http/server/server
/example/jaeger/jaeger
/example/namedtracer/namedtracer
/example/opencensus/opencensus
/example/prometheus/prometheus
/example/zipkin/zipkin
/example/otel-collector/otel-collector

View File

@ -8,6 +8,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [Unreleased]
### Changed
- Move the OpenCensus example into `example` directory. (#1359)
## [0.14.0] - 2020-11-19
### Added

View File

@ -1,18 +0,0 @@
module go.opentelemetry.io/otel/bridge/opencensus/examples/bridge
go 1.14
replace (
go.opentelemetry.io/otel => ../../../..
go.opentelemetry.io/otel/bridge/opencensus => ../..
go.opentelemetry.io/otel/exporters/stdout => ../../../../exporters/stdout
go.opentelemetry.io/otel/sdk => ../../../../sdk
)
require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/bridge/opencensus v0.14.0
go.opentelemetry.io/otel/exporters/stdout v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
)

18
example/opencensus/go.mod Normal file
View File

@ -0,0 +1,18 @@
module go.opentelemetry.io/otel/example/opencensus
go 1.14
replace (
go.opentelemetry.io/otel => ../..
go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus
go.opentelemetry.io/otel/exporters/stdout => ../../exporters/stdout
go.opentelemetry.io/otel/sdk => ../../sdk
)
require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f
go.opentelemetry.io/otel v0.14.0
go.opentelemetry.io/otel/bridge/opencensus v0.14.0
go.opentelemetry.io/otel/exporters/stdout v0.14.0
go.opentelemetry.io/otel/sdk v0.14.0
)