aws_smithy_observability/
lib.rs

1/*
2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6/* Automatically managed default lints */
7#![cfg_attr(docsrs, feature(doc_auto_cfg))]
8/* End of automatically managed default lints */
9#![warn(
10    missing_docs,
11    rustdoc::missing_crate_level_docs,
12    unreachable_pub,
13    rust_2018_idioms
14)]
15
16//! Smithy Observability
17// TODO(smithyobservability): once we have finalized everything and integrated metrics with our runtime
18// libraries update this with detailed usage docs and examples
19
20mod attributes;
21pub use attributes::{AttributeValue, Attributes};
22mod context;
23pub use context::{Context, ContextManager, Scope};
24mod error;
25pub use error::{ErrorKind, GlobalTelemetryProviderError, ObservabilityError};
26pub mod global;
27pub mod meter;
28mod noop;
29mod provider;
30pub use provider::{TelemetryProvider, TelemetryProviderBuilder};
31pub mod instruments;