Skip to content

Commit 0841ad2

Browse files
committed
exclude opentelemetry-proto
1 parent a3d5a85 commit 0841ad2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

opentelemetry-proto/src/proto/tonic/opentelemetry.proto.trace.v1.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ pub struct Span {
196196
pub end_time_unix_nano: u64,
197197
/// attributes is a collection of key/value pairs. Note, global attributes
198198
/// like server name can be set using the resource API. Examples of attributes:
199-
/// ```ignore
199+
///
200200
/// "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
201201
/// "/http/server_latency": 300
202202
/// "example.com/myattribute": true
203203
/// "example.com/score": 10.239
204-
/// ```
204+
///
205205
/// The OpenTelemetry API specification further restricts the allowed value types:
206206
/// <https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute>
207207
/// Attribute keys MUST be unique (it is not allowed to have more than one

scripts/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ echo "Running tests for all packages in workspace with --all-features"
1010
cargo test --workspace --all-features --lib
1111

1212
echo "Running doctests for all packages in workspace with --all-features"
13-
cargo test --workspace --all-features --doc
13+
cargo test --workspace --all-features --doc --exclude opentelemetry-proto
1414

1515
# See https://github.com/rust-lang/cargo/issues/5364
1616
echo "Running tests for opentelemetry package with --no-default-features"

0 commit comments

Comments
 (0)