-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove os and process resource detectors (#1624)
Co-authored-by: Cijo Thomas <[email protected]> Co-authored-by: Zhongyang Wu <[email protected]> Co-authored-by: Cijo Thomas <[email protected]>
- Loading branch information
1 parent
a7a47a7
commit 13c9dc5
Showing
7 changed files
with
47 additions
and
109 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/// Logical name of the service. | ||
/// | ||
/// MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`. | ||
/// | ||
/// # Examples | ||
/// | ||
/// - `shoppingcart` | ||
pub(crate) const SERVICE_NAME: &str = "service.name"; | ||
|
||
/// The language of the telemetry SDK. | ||
pub(crate) const TELEMETRY_SDK_LANGUAGE: &str = "telemetry.sdk.language"; | ||
|
||
/// The name of the telemetry SDK as defined above. | ||
/// | ||
/// The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute to `opentelemetry`. | ||
/// If another SDK, like a fork or a vendor-provided implementation, is used, this SDK MUST set the | ||
/// `telemetry.sdk.name` attribute to the fully-qualified class or module name of this SDK's main entry point | ||
/// or another suitable identifier depending on the language. | ||
/// The identifier `opentelemetry` is reserved and MUST NOT be used in this case. | ||
/// All custom identifiers SHOULD be stable across different versions of an implementation. | ||
/// | ||
/// # Examples | ||
/// | ||
/// - `opentelemetry` | ||
pub(crate) const TELEMETRY_SDK_NAME: &str = "telemetry.sdk.name"; | ||
|
||
/// The version string of the telemetry SDK. | ||
/// | ||
/// # Examples | ||
/// | ||
/// - `1.2.3` | ||
pub(crate) const TELEMETRY_SDK_VERSION: &str = "telemetry.sdk.version"; |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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