Skip to content

Commit

Permalink
comment purpose of large files
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Oct 15, 2024
1 parent 06e4ca4 commit 9de6369
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion runners/s3-benchrunner-rust/src/telemetry/common.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
//! code adapted from: https://github.com/open-telemetry/opentelemetry-rust/blob/3193320fa6dc17e89a7bed6090000aef781ac29c/opentelemetry-stdout/src/common.rs
//! This file is for mapping from `opentelemetry_sdk` structs, to serde-serializable
//! structs that match the OpenTelemetry Protocol (OTLP) format.
//! See: https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/common/v1/common.proto
//!
//! Code adapted from: https://github.com/open-telemetry/opentelemetry-rust/blob/3193320fa6dc17e89a7bed6090000aef781ac29c/opentelemetry-stdout/src/common.rs

use std::{
borrow::Cow,
Expand Down
6 changes: 5 additions & 1 deletion runners/s3-benchrunner-rust/src/telemetry/trace/transform.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
//! code adapted from: https://github.com/open-telemetry/opentelemetry-rust/blob/3193320fa6dc17e89a7bed6090000aef781ac29c/opentelemetry-stdout/src/trace/exporter.rs
//! This file is for mapping from `opentelemetry_sdk` structs, to serde-serializable
//! structs that match the OpenTelemetry Protocol (OTLP) format.
//! See: https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/trace/v1/trace.proto
//!
//! Code adapted from: https://github.com/open-telemetry/opentelemetry-rust/blob/3193320fa6dc17e89a7bed6090000aef781ac29c/opentelemetry-stdout/src/trace/exporter.rs

use crate::telemetry::common::{
as_human_readable, as_unix_nano, AttributeSet, KeyValue, Resource, Scope,
Expand Down

0 comments on commit 9de6369

Please sign in to comment.