Skip to content

Commit

Permalink
Prepare for v0.13.0 release (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyCpp authored Mar 24, 2021
1 parent a32b962 commit 97c220f
Show file tree
Hide file tree
Showing 33 changed files with 198 additions and 105 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ In particular, the following crates are likely to be of interest:
[`Datadog`].
- [`opentelemetry-semantic-conventions`] provides standard names and semantic
otel conventions.

- [`opentelemetry-stackdriver`] provides an exporter for Google's [Cloud Trace]
(which used to be called StackDriver).

Additionally, there are also several third-party crates which are not
maintained by the `opentelemetry` project. These include:

Expand All @@ -85,8 +87,7 @@ maintained by the `opentelemetry` project. These include:
Application Insights] exporter.
- [`opentelemetry-tide`] provides integration for the [`Tide`] web server and
ecosystem.
- [`opentelemetry-stackdriver`] provides an exporter for Google's [Cloud Trace]
(which used to be called StackDriver).


If you're the maintainer of an `opentelemetry` ecosystem crate not listed
above, please let us know! We'd love to add your project to the list!
Expand Down
12 changes: 2 additions & 10 deletions examples/external-otlp-tonic-tokio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,8 @@ edition = "2018"

[dependencies]
futures = "0.3"
opentelemetry = { path = "../../opentelemetry", features = [
"rt-tokio",
"metrics",
"serialize"
] }
opentelemetry-otlp = { path = "../../opentelemetry-otlp", features = [
"tonic",
"tls",
"tls-roots",
] }
opentelemetry = { path = "../../opentelemetry", features = ["rt-tokio", "metrics", "serialize"] }
opentelemetry-otlp = { path = "../../opentelemetry-otlp", features = ["tonic", "tls", "tls-roots"] }
serde_json = "1.0"
tokio = { version = "1.0", features = ["full"] }
tonic = "0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion opentelemetry-aws/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

### Added

- AWS XRay propagator
- AWS XRay propagator #446
2 changes: 1 addition & 1 deletion opentelemetry-aws/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ default = ["trace"]
trace = ["opentelemetry/trace"]

[dependencies]
opentelemetry = { version = "0.12", path = "../opentelemetry", features = ["trace"] }
opentelemetry = { version = "0.13", path = "../opentelemetry", features = ["trace"] }
lazy_static = "1.4"

[dev-dependencies]
Expand Down
10 changes: 10 additions & 0 deletions opentelemetry-contrib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## v0.5.0

### Removed
- Moved aws related function to `opentelemetry-aws` crate. #446
- Moved datadog related function to `opentelemetry-datadog` crate. #446

### Changed

- Update to opentelemetry v0.13.0

## v0.4.0

### Changed
Expand Down
4 changes: 2 additions & 2 deletions opentelemetry-contrib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-contrib"
version = "0.4.0"
version = "0.5.0"
authors = ["OpenTelemetry Authors <[email protected]>"]
description = "Rust contrib repo for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-contrib"
Expand All @@ -24,7 +24,7 @@ base64_format = ["base64", "binary_propagator"]
binary_propagator = []

[dependencies]
opentelemetry = { version = "0.12", path = "../opentelemetry", features = ["trace"] }
opentelemetry = { version = "0.13", path = "../opentelemetry", features = ["trace"] }
base64 = { version = "0.13", optional = true }
lazy_static = "1.4"

Expand Down
7 changes: 5 additions & 2 deletions opentelemetry-datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@

### Added

- Datadog exporter
- Datadog propagator
- Datadog exporter #446
- Datadog propagator #440

### Changed
- Rename trace config with_default_sampler to with_sampler #482
4 changes: 2 additions & 2 deletions opentelemetry-datadog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ surf-client = ["surf", "opentelemetry-http/surf"]
[dependencies]
async-trait = "0.1"
indexmap = "1.6"
opentelemetry = { version = "0.12", path = "../opentelemetry", features = ["trace"] }
opentelemetry-http = { version = "0.1", path = "../opentelemetry-http" }
opentelemetry = { version = "0.13", path = "../opentelemetry", features = ["trace"] }
opentelemetry-http = { version = "0.2", path = "../opentelemetry-http" }
rmp = "0.8"
reqwest = { version = "0.11", optional = true }
surf = { version = "2.0", optional = true }
Expand Down
5 changes: 5 additions & 0 deletions opentelemetry-http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v0.2.0

### Changed
- Update to opentelemetry v0.13.0

## v0.1.0

### Added
Expand Down
4 changes: 2 additions & 2 deletions opentelemetry-http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-http"
version = "0.1.0"
version = "0.2.0"
authors = ["OpenTelemetry Authors <[email protected]>"]
description = "Helper implementations for exchange of traces and metrics over HTTP"
homepage = "https://github.com/open-telemetry/opentelemetry-rust"
Expand All @@ -13,7 +13,7 @@ edition = "2018"
async-trait = "0.1.42"
http = "0.2.2"
isahc = { version = "0.9", default-features = false, optional = true }
opentelemetry = { version = "0.12", path = "../opentelemetry", features = ["trace"] }
opentelemetry = { version = "0.13", path = "../opentelemetry", features = ["trace"] }
reqwest = { version = "0.11", default-features = false, features = ["blocking"], optional = true }
surf = { version = "2.0", default-features = false, optional = true }
thiserror = "1"
16 changes: 16 additions & 0 deletions opentelemetry-jaeger/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
# Changelog

## v0.12.0

### Added
- Add max packet size constraint #457

### Fixed
- Allow user to use hostname like `localhost` in the `OTEL_EXPORTER_JAEGER_AGENT_HOST` environment variable. #448

### Removed
- Removed `from_env` and use environment variables to initialize the configurations by default #459

### Changed
- Update to opentelemetry v0.13.0
- Rename trace config with_default_sampler to with_sampler #482

## v0.11.0

### Changed

- Update to opentelemetry v0.12.0
- Update tokio to v1 #421
- Make `with_collector_endpoint` function less error prune #428
- Use opentelemetry-http for http integration #415
Expand Down
8 changes: 4 additions & 4 deletions opentelemetry-jaeger/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-jaeger"
version = "0.11.0"
version = "0.12.0"
authors = ["OpenTelemetry Authors <[email protected]>"]
description = "Jaeger exporter for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-jaeger"
Expand All @@ -27,8 +27,8 @@ futures-util = { version = "0.3", optional = true }
http = { version = "0.2", optional = true }
isahc = { version = "0.9", default-features = false, optional = true }
js-sys = { version = "0.3", optional = true }
opentelemetry = { version = "0.12", default-features = false, features = ["trace"], path = "../opentelemetry" }
opentelemetry-http = { version = "0.1", path = "../opentelemetry-http", optional = true }
opentelemetry = { version = "0.13", default-features = false, features = ["trace"], path = "../opentelemetry" }
opentelemetry-http = { version = "0.2", path = "../opentelemetry-http", optional = true }
pin-project = { version = "1.0", optional = true }
thrift = "0.13"
tokio = { version = "1.0", features = ["net", "sync"], optional = true }
Expand All @@ -41,7 +41,7 @@ headers = { version = "0.3.2", optional = true }
surf = { version = "2.0", optional = true }

[dev-dependencies]
opentelemetry = { version = "0.12", default-features = false, features = ["trace", "testing"], path = "../opentelemetry" }
opentelemetry = { version = "0.13", default-features = false, features = ["trace", "testing"], path = "../opentelemetry" }
futures = "0.3"

[dependencies.web-sys]
Expand Down
19 changes: 19 additions & 0 deletions opentelemetry-otlp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

### v0.6.0
### Added
- Examples on how to connect to an external otlp using tonic, tls and tokio #449
- Examples on how to connect to an external otlp using grpcio and tls #450
- `with_env` method for `OtlpPipelineBuilder` to use environment variables to config otlp pipeline #451
- Update `tracing-grpc` example to include extractors and injectors #464
- Mentioned `service.name` resource in README #476

### Changed
- Update to opentelemetry v0.13.0
- Update `tonic-build` dependency to 0.4 #463
- Update the opentelemetry pipeline to use API to choose grpc layer instead of feature #467
- Rename trace config with_default_sampler to with_sampler #482

### Removed
- Removed `from_env` and use environment variables to initialize the configurations by default #459
- Removed support for running tonic without tokio runtime #483

## v0.5.0

### Added
Expand All @@ -9,6 +27,7 @@

### Changed

- Update to opentelemetry v0.12.0
- Update tokio to v1 #421

## v0.4.0
Expand Down
4 changes: 2 additions & 2 deletions opentelemetry-otlp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opentelemetry-otlp"
version = "0.5.0"
version = "0.6.0"
authors = ["OpenTelemetry Authors <[email protected]>"]
description = "Exporter for the OpenTelemetry Collector"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-otlp"
Expand Down Expand Up @@ -33,7 +33,7 @@ rustdoc-args = ["--cfg", "docsrs"]
async-trait = "0.1"
futures = "0.3"
grpcio = { version = "0.7", optional = true }
opentelemetry = { version = "0.12", default-features = false, features = ["trace"], path = "../opentelemetry" }
opentelemetry = { version = "0.13", default-features = false, features = ["trace"], path = "../opentelemetry" }
prost = { version = "0.7", optional = true }
protobuf = { version = "2.18", optional = true }
thiserror = "1.0"
Expand Down
18 changes: 9 additions & 9 deletions opentelemetry-otlp/src/proto/grpcio/common.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.20.0. Do not edit
// This file is generated by rust-protobuf 2.22.0. Do not edit
// @generated

// https://github.com/rust-lang/rust-clippy/issues/702
Expand All @@ -21,10 +21,10 @@

/// Generated files are compatible only with the same version
/// of protobuf runtime.
// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_20_0;
// const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_2_22_0;

#[derive(PartialEq,Clone,Default)]
#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
pub struct AnyValue {
// message oneof groups
pub value: ::std::option::Option<AnyValue_oneof_value>,
Expand All @@ -42,7 +42,7 @@ impl<'a> ::std::default::Default for &'a AnyValue {
}

#[derive(Clone,PartialEq,Debug)]
#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
pub enum AnyValue_oneof_value {
string_value(::std::string::String),
bool_value(bool),
Expand Down Expand Up @@ -510,7 +510,7 @@ impl ::protobuf::reflect::ProtobufValue for AnyValue {
}

#[derive(PartialEq,Clone,Default)]
#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
pub struct ArrayValue {
// message fields
pub values: ::protobuf::RepeatedField<AnyValue>,
Expand Down Expand Up @@ -679,7 +679,7 @@ impl ::protobuf::reflect::ProtobufValue for ArrayValue {
}

#[derive(PartialEq,Clone,Default)]
#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
pub struct KeyValueList {
// message fields
pub values: ::protobuf::RepeatedField<KeyValue>,
Expand Down Expand Up @@ -848,7 +848,7 @@ impl ::protobuf::reflect::ProtobufValue for KeyValueList {
}

#[derive(PartialEq,Clone,Default)]
#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
pub struct KeyValue {
// message fields
pub key: ::std::string::String,
Expand Down Expand Up @@ -1067,7 +1067,7 @@ impl ::protobuf::reflect::ProtobufValue for KeyValue {
}

#[derive(PartialEq,Clone,Default)]
#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
pub struct StringKeyValue {
// message fields
pub key: ::std::string::String,
Expand Down Expand Up @@ -1271,7 +1271,7 @@ impl ::protobuf::reflect::ProtobufValue for StringKeyValue {
}

#[derive(PartialEq,Clone,Default)]
#[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "with-serde", derive(::serde::Serialize, ::serde::Deserialize))]
pub struct InstrumentationLibrary {
// message fields
pub name: ::std::string::String,
Expand Down
Loading

0 comments on commit 97c220f

Please sign in to comment.