File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
opentelemetry-proto/src/proto/tonic Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ echo "Running tests for all packages in workspace with --all-features"
1010cargo test --workspace --all-features --lib
1111
1212echo " 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
1616echo " Running tests for opentelemetry package with --no-default-features"
You can’t perform that action at this time.
0 commit comments