-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move experimental features to separate folder
- Loading branch information
1 parent
6f14587
commit b83826b
Showing
11 changed files
with
59 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
/target | ||
**/*.rs.bk | ||
Cargo.lock | ||
|
||
# IDEA | ||
/.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
//! # OpenTelemetry Experimental Context API | ||
pub mod propagation; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
//! # OpenTelemetry Experimental Propagator interface | ||
//! | ||
//! ## Binary Format | ||
//! | ||
//! `BinaryFormat` is a formatter to serialize and deserialize a value | ||
//! into a binary format. | ||
//! | ||
//! `BinaryFormat` MUST expose the APIs that serializes values into bytes, | ||
//! and deserializes values from bytes. | ||
//! | ||
//! ### ToBytes | ||
//! | ||
//! Serializes the given value into the on-the-wire representation. | ||
//! | ||
//! Required arguments: | ||
//! | ||
//! - the value to serialize, can be `SpanContext` or `DistributedContext`. | ||
//! | ||
//! Returns the on-the-wire byte representation of the value. | ||
//! | ||
//! ### FromBytes | ||
//! | ||
//! Creates a value from the given on-the-wire encoded representation. | ||
//! | ||
//! If the value could not be parsed, the underlying implementation | ||
//! SHOULD decide to return ether an empty value, an invalid value, or | ||
//! a valid value. | ||
//! | ||
//! Required arguments: | ||
//! | ||
//! - on-the-wire byte representation of the value. | ||
//! | ||
//! Returns a value deserialized from bytes. | ||
//! | ||
#[cfg(feature = "base64")] | ||
pub mod base64_format; | ||
pub mod binary_propagator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//! ## OpenTelemetry Experimental API: What applications use and SDKs implement. | ||
pub mod context; | ||
|
||
#[cfg(feature = "base64_format")] | ||
pub use context::propagation::base64_format::Base64Format; | ||
#[cfg(feature = "binary_propagator")] | ||
pub use context::propagation::binary_propagator::BinaryFormat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
//! # OpenTelemetry Experimental Features | ||
pub mod api; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters