chore: fix some minor issues in comments

Signed-off-by: liangmulu <liangmulu@outlook.com>
This commit is contained in:
liangmulu 2025-07-09 18:05:41 +08:00
parent d8c921804e
commit b1a7df2c0c
4 changed files with 5 additions and 5 deletions

View File

@ -260,7 +260,7 @@ job_name: <job_name>
# OpenMetricsText1.0.0, PrometheusText0.0.4, PrometheusText1.0.0.
[ scrape_protocols: [<string>, ...] | default = <global_config.scrape_protocols> ]
# Fallback protocol to use if a scrape returns blank, unparseable, or otherwise
# Fallback protocol to use if a scrape returns blank, unparsable, or otherwise
# invalid Content-Type.
# Supported values (case sensitive): PrometheusProto, OpenMetricsText0.0.1,
# OpenMetricsText1.0.0, PrometheusText0.0.4, PrometheusText1.0.0.

View File

@ -123,14 +123,14 @@ tls_config:
# For the following configurations, use either `ca`, `cert` and `key` or `ca_file`, `cert_file` and `key_file` or use `ca_ref`, `cert_ref` or `key_ref`.
# Text of the CA certificate to use for the server.
[ ca: <string> ]
# CA certificate to validate the server certificate witth.
# CA certificate to validate the server certificate with.
[ ca_file: <filename> ]
# `ca_ref` is the name of the secret within the secret manager to use as the CA cert.
[ ca_ref: <string> ]
# Text of the client cert file for the server.
[ cert: <string> ]
# Certficate file for client certificate authentication.
# Certificate file for client certificate authentication.
[ cert_file: <filename> ]
# `cert_ref` is the name of the secret within the secret manager to use as the client certificate.
[ cert_ref: <string> ]

View File

@ -129,7 +129,7 @@ type QueryLogger interface {
io.Closer
}
// A Query is derived from an a raw query string and can be run against an engine
// A Query is derived from a raw query string and can be run against an engine
// it is associated with.
type Query interface {
// Exec processes the query. Can only be called once.

View File

@ -9066,7 +9066,7 @@ func TestOOONativeHistogramsSettings(t *testing.T) {
})
}
// compareSeries essentially replaces `require.Equal(t, expected, actual) in
// compareSeries essentially replaces `require.Equal(t, expected, actual)` in
// situations where the actual series might contain more counter reset hints
// "unknown" than the expected series. This can easily happen for long series
// that trigger new chunks. This function therefore tolerates counter reset