Skip to content

Commit 9dfe6c5

Browse files
authored
Merge branch 'main' into cijothomas/otlp-error-return
2 parents 3171749 + ad88615 commit 9dfe6c5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/ISSUE_TEMPLATE/BUG-REPORT.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ body:
2828
- type: textarea
2929
id: sdk-version
3030
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)
3232
description: What version of the `opentelemetry_sdk` crate are you using?
3333
placeholder: 0.x, 1.x, etc.
3434
validations:

opentelemetry-semantic-conventions/scripts/templates/registry/rust/metric.rs.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
//! let meter = global::meter("mylibraryname");
2525
//! let histogram = meter
2626
//! .u64_histogram(semconv::metric::HTTP_SERVER_REQUEST_DURATION)
27-
//! .with_unit("By")
27+
//! .with_unit("s")
2828
//! .with_description("Duration of HTTP server requests.")
2929
//! .build();
3030
//! ```
@@ -76,4 +76,4 @@
7676
pub const {{ metric.metric_name | screaming_snake_case }}: &str = "{{ metric.metric_name }}";
7777

7878
{% endfor %}
79-
{% endfor %}
79+
{% endfor %}

opentelemetry-semantic-conventions/src/metric.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
//! let meter = global::meter("mylibraryname");
2424
//! let histogram = meter
2525
//! .u64_histogram(semconv::metric::HTTP_SERVER_REQUEST_DURATION)
26-
//! .with_unit("By")
26+
//! .with_unit("s")
2727
//! .with_description("Duration of HTTP server requests.")
2828
//! .build();
2929
//! ```

0 commit comments

Comments
 (0)