-
Notifications
You must be signed in to change notification settings - Fork 440
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
Move opentelemetry_api code back into opentelemetry and remove the former #1226
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1226 +/- ##
=====================================
Coverage 49.3% 49.3%
=====================================
Files 174 173 -1
Lines 21038 21008 -30
=====================================
- Hits 10380 10371 -9
+ Misses 10658 10637 -21
☔ View full report in Codecov by Sentry. |
0a85091
to
e494400
Compare
@@ -1,28 +0,0 @@ | |||
![OpenTelemetry — An observability framework for cloud-native software.][splash] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it may be a good idea to to keep this file, with a note saying "its no longer maintained and users should use opentelemetry crate instead". Or maybe that can be done in crates.io description manually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 we will need to figure out a way to prompt users to opentelemetry
crate when they end up on the opentelemetry_api
crate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could submit an informational RustSec security advisory setting the status for opentelemetry_api to unmaintained.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've submitted rustsec/advisory-db#1994 and a PR
In addition to `opentelemetry`, which only carries the API, the | ||
[`open-telemetry/opentelemetry-rust`] repository contains several additional | ||
crates designed to be used with the `opentelemetry` ecosystem. This includes a | ||
collection of trace `SpanExporter` and metrics pull and push controller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this is outdated. will send a follow up to address it after this PR.
mm.. I don't think we need to update past changelogs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I left a couple of nits, and also do not think we need commit3 to update old changelog entries.
Thanks a lot for this, and really appreciate the way step-by-step commits is done to make reviewing much easier!
Same thought. Do we need to update old changelogs entries ? |
`opentelemetry` ecosystem. This includes a collection of trace `SpanExporter` | ||
and metrics pull and push controller implementations, as well as utility and | ||
adapter crates to assist in propagating state and instrumenting applications. | ||
In addition to `opentelemetry`, which only carries the API, the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should opentelemetry/README.md now only contain the information specific to API. Most of the content is similar to the root level README.md, and can be removed. Probably something to be addressed once this PR is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad people are finally on board with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for working through this -- must have been pretty tedious.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome thanks @shaun-cox
* feat: addInMemoryLogExporter * linting * Update CHANGELOG.md * changed finished to emitted logs, moved example * replace clone_log with cloned() * remove proj example in favor of single file * corrected dependency, removed repeated code * changed finished to emitted logs, moved example * remove proj example in favor of single file * corrected dependency, removed repeated code * corrected dependency, removed repeated code * fix: endpoint urls for otlp http exporter. (#1210) * Move opentelemetry_api code back into opentelemetry and remove the former (#1226) * [user_events log exporter] Upgrade eventheader-dynamic dependency (#1230) * feat: addInMemoryLogExporter * linting * Update CHANGELOG.md * remove the example from examples * fixes after rebase * missing doc, added no_run in examples * fix ci test(stable) and docs * more examples ci fixes * added dev-dependencies to resolve ci issue * corrected required features * remove comments about returning error * Update example description Co-authored-by: Cijo Thomas <[email protected]> --------- Co-authored-by: Zhongyang Wu <[email protected]> Co-authored-by: Shaun Cox <[email protected]> Co-authored-by: Lalit Kumar Bhasin <[email protected]> Co-authored-by: Cijo Thomas <[email protected]>
Fixes #1186
Changes
As part of #1199, @djc asked:
This PR delivers that. To make reviewing hopefully easier, I've split it into several commits that can be squashed when merged and reviewed independently:
opentelemetry_api
toopentelemetry
use opentelemetry_api::
withuse opentelemetry::
opentelemetry-api
src directory toopentelemetry
and removes the former.opentelemetry/src/lib.rs
manually combinedcommit 3updates CHANGELOG.md files to remove mentions ofopentelemetry-api
and just useopentelemetry
(maybe this isn't appropriate, in which case I'll revert.)opentelemetry/CHANGELOG.md
with the oldopentelemetry-api/CHANGELOG.md
and adjustedopentelemtry/README.md
to mention the relatedopentelemetry_sdk
crate.opentelemetry-api
directoryMerge requirement checklist
CHANGELOG.md
files updated for non-trivial, user-facing changes