opentelemetry_semantic_conventions/
lib.rs

1//! OpenTelemetry semantic conventions are agreed standardized naming patterns
2//! for OpenTelemetry things. This crate aims to be the centralized place to
3//! interact with these conventions.
4#![warn(
5    future_incompatible,
6    missing_debug_implementations,
7    missing_docs,
8    nonstandard_style,
9    rust_2018_idioms,
10    unreachable_pub,
11    unused
12)]
13#![cfg_attr(test, deny(warnings))]
14#![doc(
15    html_logo_url = "https://raw.githubusercontent.com/open-telemetry/opentelemetry-rust/main/assets/logo.svg"
16)]
17
18pub mod attribute;
19pub mod metric;
20pub mod resource;
21pub mod trace;
22
23/// The schema URL that matches the version of the semantic conventions that
24/// this crate defines.
25pub const SCHEMA_URL: &str = "https://opentelemetry.io/schemas/1.30.0";