Skip to content

Commit

Permalink
fix(doc): fix type link in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyCpp committed Aug 13, 2022
1 parent 07604f7 commit d8eb98b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion opentelemetry-otlp/src/metric.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! OTEL metric exporter
//!
//! Defines a [Exporter] to send metric data to backend via OTEL protocol.
//! Defines a [MetricsExporter] to send metric data to backend via OTEL protocol.
//!
//! Currently, OTEL metrics exporter only support GRPC connection via tonic on tokio runtime.
Expand Down
4 changes: 2 additions & 2 deletions opentelemetry-proto/src/transform/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ pub mod tonic {

use opentelemetry::{Key, Value};

/// Convert [`Number`](opentelemetry::metrics::Number) to target type based
/// on it's [`NumberKind`](opentelemetry::metrics::NumberKind).
/// Convert [`Number`](opentelemetry::sdk::metrics::sdk_api::Number) to target type based
/// on it's [`NumberKind`](opentelemetry::sdk::metrics::sdk_api::NumberKind).
pub trait FromNumber {
fn from_number(number: Number, number_kind: &NumberKind) -> Self;
}
Expand Down

0 comments on commit d8eb98b

Please sign in to comment.