mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 06:07:11 +02:00
chore: fix some minor issues in comments
Signed-off-by: liangmulu <liangmulu@outlook.com>
This commit is contained in:
parent
d8c921804e
commit
b1a7df2c0c
@ -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.
|
||||
|
@ -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> ]
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user