Skip to content

Commit 3c3f826

Browse files
committed
doc: update docs to be more accurate
1 parent 9b68694 commit 3c3f826

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

opentelemetry-sdk/src/trace/config.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl Config {
5353
self
5454
}
5555

56-
/// Specify the number of events to be recorded per span.
56+
/// Specify the maximum number of events that can be recorded per span.
5757
#[deprecated(
5858
since = "0.27.1",
5959
note = "Config is becoming private. Please use Builder::with_max_events_per_span(...) instead."
@@ -63,7 +63,7 @@ impl Config {
6363
self
6464
}
6565

66-
/// Specify the number of attributes to be recorded per span.
66+
/// Specify the maximum number of attributes that can be recorded per span.
6767
#[deprecated(
6868
since = "0.27.1",
6969
note = "Config is becoming private. Please use Builder::with_max_attributes_per_span(...) instead."
@@ -73,7 +73,7 @@ impl Config {
7373
self
7474
}
7575

76-
/// Specify the number of events to be recorded per span.
76+
/// Specify the maximum number of links that can be recorded per span.
7777
#[deprecated(
7878
since = "0.27.1",
7979
note = "Config is becoming private. Please use Builder::with_max_links_per_span(...) instead."
@@ -83,7 +83,7 @@ impl Config {
8383
self
8484
}
8585

86-
/// Specify the number of attributes one event can have.
86+
/// Specify the maximum number of attributes one event can have.
8787
#[deprecated(
8888
since = "0.27.1",
8989
note = "Config is becoming private. Please use Builder::with_max_attributes_per_event(...) instead."
@@ -93,7 +93,7 @@ impl Config {
9393
self
9494
}
9595

96-
/// Specify the number of attributes one link can have.
96+
/// Specify the maximum number of attributes one link can have.
9797
#[deprecated(
9898
since = "0.27.1",
9999
note = "Config is becoming private. Please use Builder::with_max_attributes_per_link(...) instead."

0 commit comments

Comments
 (0)