Skip to content

Commit

Permalink
Move opencensus example to the example directory (#1359)
Browse files Browse the repository at this point in the history
And update .gitignore, so the built binary does not show up in git
status.
  • Loading branch information
krnowak authored Nov 20, 2020
1 parent 575df22 commit e081978
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ updates:
interval: weekly
-
package-ecosystem: gomod
directory: /bridge/opencensus/examples/bridge
directory: /example/basic
labels:
- dependencies
- go
Expand All @@ -58,7 +58,7 @@ updates:
interval: weekly
-
package-ecosystem: gomod
directory: /example/basic
directory: /example/jaeger
labels:
- dependencies
- go
Expand All @@ -68,7 +68,7 @@ updates:
interval: weekly
-
package-ecosystem: gomod
directory: /example/jaeger
directory: /example/namedtracer
labels:
- dependencies
- go
Expand All @@ -78,7 +78,7 @@ updates:
interval: weekly
-
package-ecosystem: gomod
directory: /example/namedtracer
directory: /example/opencensus
labels:
- dependencies
- go
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 0 additions & 18 deletions bridge/opencensus/examples/bridge/go.mod

This file was deleted.

18 changes: 18 additions & 0 deletions example/opencensus/go.mod
Original file line number Diff line number Diff line change
@@ -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
)
File renamed without changes.
File renamed without changes.

0 comments on commit e081978

Please sign in to comment.