Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate example modules #26

Merged
merged 3 commits into from
Aug 13, 2019

Conversation

iredelmeier
Copy link
Member

This reduced the core module's number of dependencies (based on go.sum) from 257 down to 22. As we add more examples, the impact will likely only get more significant. This gets us a significant way towards addressing the Dependencies portion of #19 (can't link directly to that header - sorry!).

Some notes:

  • The current version builds directly on Move basic example into its own subdirectory #25. Depending on the outcome of that PR, this PR may need to be adjusted.
  • I'm not 100% sure that the use of replace in the example go.mod files is the best way to handle things. I believe it's appropriate since the example modules should be versioned in lockstep with the main one, but I might be wrong :)

@rghetia
Copy link
Contributor

rghetia commented Jun 26, 2019

Please remove the binary file 'basic'.

go.mod Outdated Show resolved Hide resolved
@rghetia
Copy link
Contributor

rghetia commented Jul 1, 2019

@iredelmeier can you please rebase and resolve the conflicts so I can merge this?

This prevents core code from including dependencies required only for
examples, reducing the number of dependencies that core code needs to
rely on.
@rghetia rghetia merged commit 0db7791 into open-telemetry:master Aug 13, 2019
hstan referenced this pull request in hstan/opentelemetry-go Oct 15, 2020
* Copy mongo driver

* Add an updated copy of otel-go mock tracer

* Integrate mock tracer

* Update tests

* Update copyright

* Move to plugins dir

* Move mongo plugin to go.mongodb.org dir

* Upgrade to v0.5.0

* Run make

Includes fixes needed to past testing.

* Update attribution

Based on [this](open-telemetry/community#305 (comment))
comment, updating attribution to be to The OpenTelemetry Authors.

* package.go -> doc.go

* Update package name

* Update package docs

* Suggested fix for docs

* Apply feedback

* Remove unneeded go.mod replaces

* Update testing service name

Co-authored-by: Krzesimir Nowak <krzesimir@kinvolk.io>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
@pellared pellared added this to the untracked milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants