Skip to content

Commit ed43079

Browse files
committed
fix: add missing periods at the end of comments.
Add comments formatting adding missing periods at the end. Signed-off-by: José Guilherme Vanz <[email protected]>
1 parent 07e62dd commit ed43079

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

opentelemetry-otlp/src/exporter/mod.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ pub const OTEL_EXPORTER_OTLP_HEADERS: &str = "OTEL_EXPORTER_OTLP_HEADERS";
2727
pub const OTEL_EXPORTER_OTLP_PROTOCOL: &str = "OTEL_EXPORTER_OTLP_PROTOCOL";
2828
/// Compression algorithm to use, defaults to none.
2929
pub const OTEL_EXPORTER_OTLP_COMPRESSION: &str = "OTEL_EXPORTER_OTLP_COMPRESSION";
30-
31-
/// Certificate file to validate the OTLP server connection
30+
/// Certificate file to validate the OTLP server connection.
3231
#[cfg(feature = "tls")]
3332
pub const OTEL_EXPORTER_OTLP_CERTIFICATE: &str = "OTEL_EXPORTER_OTLP_CERTIFICATE";
3433
/// Path to the certificate file to use for client authentication (mTLS).
@@ -37,7 +36,7 @@ pub const OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE: &str = "OTEL_EXPORTER_OTLP_CLIE
3736
/// Path to the key file to use for client authentication (mTLS).
3837
#[cfg(feature = "tls")]
3938
pub const OTEL_EXPORTER_OTLP_CLIENT_KEY: &str = "OTEL_EXPORTER_OTLP_CLIENT_KEY";
40-
/// Use insecure connection. Disable TLS
39+
/// Use insecure connection. Disable TLS.
4140
#[cfg(feature = "tls")]
4241
pub const OTEL_EXPORTER_OTLP_INSECURE: &str = "OTEL_EXPORTER_OTLP_INSECURE";
4342

opentelemetry-otlp/src/logs.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ pub const OTEL_EXPORTER_OTLP_LOGS_TIMEOUT: &str = "OTEL_EXPORTER_OTLP_LOGS_TIMEO
3232
/// Example: `k1=v1,k2=v2`
3333
/// Note: this is only supported for HTTP.
3434
pub const OTEL_EXPORTER_OTLP_LOGS_HEADERS: &str = "OTEL_EXPORTER_OTLP_LOGS_HEADERS";
35-
36-
/// Certificate file to validate the OTLP server connection when sending metrics
35+
/// Certificate file to validate the OTLP server connection when sending metrics.
3736
#[cfg(feature = "tls")]
3837
pub const OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE: &str = "OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE";
3938
/// Path to the certificate file to use for client authentication (mTLS) when sending metrics.
@@ -43,7 +42,7 @@ pub const OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE: &str =
4342
/// Path to the key file to use for client authentication (mTLS) when sending metrics.
4443
#[cfg(feature = "tls")]
4544
pub const OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY: &str = "OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY";
46-
/// Use insecure connection when sending metrics. Disable TLS
45+
/// Use insecure connection when sending metrics. Disable TLS.
4746
#[cfg(feature = "tls")]
4847
pub const OTEL_EXPORTER_OTLP_LOGS_INSECURE: &str = "OTEL_EXPORTER_OTLP_LOGS_INSECURE";
4948

opentelemetry-otlp/src/metric.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ pub const OTEL_EXPORTER_OTLP_METRICS_COMPRESSION: &str = "OTEL_EXPORTER_OTLP_MET
3636
/// Example: `k1=v1,k2=v2`
3737
/// Note: this is only supported for HTTP.
3838
pub const OTEL_EXPORTER_OTLP_METRICS_HEADERS: &str = "OTEL_EXPORTER_OTLP_METRICS_HEADERS";
39-
///
40-
/// Certificate file to validate the OTLP server connection when sending metrics
39+
/// Certificate file to validate the OTLP server connection when sending metrics.
4140
#[cfg(feature = "tls")]
4241
pub const OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE: &str = "OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE";
4342
/// Path to the certificate file to use for client authentication (mTLS) when sending metrics.
@@ -47,7 +46,7 @@ pub const OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE: &str =
4746
/// Path to the key file to use for client authentication (mTLS) when sending metrics.
4847
#[cfg(feature = "tls")]
4948
pub const OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY: &str = "OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY";
50-
/// Use insecure connection when sending metrics. Disable TLS
49+
/// Use insecure connection when sending metrics. Disable TLS.
5150
#[cfg(feature = "tls")]
5251
pub const OTEL_EXPORTER_OTLP_METRICS_INSECURE: &str = "OTEL_EXPORTER_OTLP_METRICS_INSECURE";
5352

opentelemetry-otlp/src/span.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ pub const OTEL_EXPORTER_OTLP_TRACES_COMPRESSION: &str = "OTEL_EXPORTER_OTLP_TRAC
3434
/// Example: `k1=v1,k2=v2`
3535
/// Note: this is only supported for HTTP.
3636
pub const OTEL_EXPORTER_OTLP_TRACES_HEADERS: &str = "OTEL_EXPORTER_OTLP_TRACES_HEADERS";
37-
38-
/// Certificate file to validate the OTLP server connection when sending traces
37+
/// Certificate file to validate the OTLP server connection when sending traces.
3938
#[cfg(feature = "tls")]
4039
pub const OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE: &str = "OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE";
4140
/// Path to the certificate file to use for client authentication (mTLS) when sending traces.
@@ -45,7 +44,7 @@ pub const OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE: &str =
4544
/// Path to the key file to use for client authentication (mTLS) when sending traces.
4645
#[cfg(feature = "tls")]
4746
pub const OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY: &str = "OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY";
48-
/// Use insecure connection when sending trace. Disable TLS
47+
/// Use insecure connection when sending trace. Disable TLS.
4948
#[cfg(feature = "tls")]
5049
pub const OTEL_EXPORTER_OTLP_TRACES_INSECURE: &str = "OTEL_EXPORTER_OTLP_TRACES_INSECURE";
5150

0 commit comments

Comments
 (0)