File tree 3 files changed +4
-4
lines changed
opentelemetry-semantic-conventions
scripts/templates/registry/rust
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 28
28
- type : textarea
29
29
id : sdk-version
30
30
attributes :
31
- label : label: OpenTelemetry SDK Version (i.e version of `opentelemetry_sdk` crate)
31
+ label : OpenTelemetry SDK Version (i.e version of `opentelemetry_sdk` crate)
32
32
description : What version of the `opentelemetry_sdk` crate are you using?
33
33
placeholder : 0.x, 1.x, etc.
34
34
validations :
Original file line number Diff line number Diff line change 24
24
//! let meter = global::meter("mylibraryname");
25
25
//! let histogram = meter
26
26
//! .u64_histogram(semconv::metric::HTTP_SERVER_REQUEST_DURATION)
27
- //! .with_unit("By ")
27
+ //! .with_unit("s ")
28
28
//! .with_description("Duration of HTTP server requests.")
29
29
//! .build();
30
30
//! ```
76
76
pub const {{ metric.metric_name | screaming_snake_case }}: &str = "{{ metric.metric_name }}";
77
77
78
78
{% endfor %}
79
- {% endfor %}
79
+ {% endfor %}
Original file line number Diff line number Diff line change 23
23
//! let meter = global::meter("mylibraryname");
24
24
//! let histogram = meter
25
25
//! .u64_histogram(semconv::metric::HTTP_SERVER_REQUEST_DURATION)
26
- //! .with_unit("By ")
26
+ //! .with_unit("s ")
27
27
//! .with_description("Duration of HTTP server requests.")
28
28
//! .build();
29
29
//! ```
You can’t perform that action at this time.
0 commit comments