File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
opentelemetry-semantic-conventions
scripts/templates/registry/rust Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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//! ```
7676pub const {{ metric.metric_name | screaming_snake_case }}: &str = "{{ metric.metric_name }}";
7777
7878 {% endfor %}
79- {% endfor %}
79+ {% endfor %}
Original file line number Diff line number Diff line change 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//! ```
You can’t perform that action at this time.
0 commit comments