-
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 (#134)
- Loading branch information
1 parent
b609ada
commit 3a74399
Showing
12 changed files
with
61 additions
and
13 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
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
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