Commit ad88615 1 parent 5bcaf30 commit ad88615 Copy full SHA for ad88615
File tree 2 files changed +3
-3
lines changed
opentelemetry-semantic-conventions
scripts/templates/registry/rust
2 files changed +3
-3
lines changed 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