Skip to content

Commit ec3389e

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 b0ed39d commit ec3389e

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

opentelemetry-otlp/src/exporter/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ pub const OTEL_EXPORTER_OTLP_HEADERS: &str = "OTEL_EXPORTER_OTLP_HEADERS";
2828
pub const OTEL_EXPORTER_OTLP_PROTOCOL: &str = "OTEL_EXPORTER_OTLP_PROTOCOL";
2929
/// Compression algorithm to use, defaults to none.
3030
pub const OTEL_EXPORTER_OTLP_COMPRESSION: &str = "OTEL_EXPORTER_OTLP_COMPRESSION";
31-
32-
/// Certificate file to validate the OTLP server connection
31+
/// Certificate file to validate the OTLP server connection.
3332
#[cfg(feature = "tls")]
3433
pub const OTEL_EXPORTER_OTLP_CERTIFICATE: &str = "OTEL_EXPORTER_OTLP_CERTIFICATE";
3534
/// Path to the certificate file to use for client authentication (mTLS).
@@ -38,7 +37,7 @@ pub const OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE: &str = "OTEL_EXPORTER_OTLP_CLIE
3837
/// Path to the key file to use for client authentication (mTLS).
3938
#[cfg(feature = "tls")]
4039
pub const OTEL_EXPORTER_OTLP_CLIENT_KEY: &str = "OTEL_EXPORTER_OTLP_CLIENT_KEY";
41-
/// Use insecure connection. Disable TLS
40+
/// Use insecure connection. Disable TLS.
4241
#[cfg(feature = "tls")]
4342
pub const OTEL_EXPORTER_OTLP_INSECURE: &str = "OTEL_EXPORTER_OTLP_INSECURE";
4443

opentelemetry-otlp/src/logs.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ pub const OTEL_EXPORTER_OTLP_LOGS_TIMEOUT: &str = "OTEL_EXPORTER_OTLP_LOGS_TIMEO
3030
/// Example: `k1=v1,k2=v2`
3131
/// Note: this is only supported for HTTP.
3232
pub const OTEL_EXPORTER_OTLP_LOGS_HEADERS: &str = "OTEL_EXPORTER_OTLP_LOGS_HEADERS";
33-
34-
/// Certificate file to validate the OTLP server connection when sending metrics
33+
/// Certificate file to validate the OTLP server connection when sending metrics.
3534
#[cfg(feature = "tls")]
3635
pub const OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE: &str = "OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE";
3736
/// Path to the certificate file to use for client authentication (mTLS) when sending metrics.
@@ -41,7 +40,7 @@ pub const OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE: &str =
4140
/// Path to the key file to use for client authentication (mTLS) when sending metrics.
4241
#[cfg(feature = "tls")]
4342
pub const OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY: &str = "OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY";
44-
/// Use insecure connection when sending metrics. Disable TLS
43+
/// Use insecure connection when sending metrics. Disable TLS.
4544
#[cfg(feature = "tls")]
4645
pub const OTEL_EXPORTER_OTLP_LOGS_INSECURE: &str = "OTEL_EXPORTER_OTLP_LOGS_INSECURE";
4746

opentelemetry-otlp/src/metric.rs

Lines changed: 2 additions & 3 deletions
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

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

0 commit comments

Comments
 (0)