mirror of
https://github.com/prometheus/prometheus
synced 2026-04-20 22:41:05 +08:00
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6ab5d8f9be
commit
f7c60bf97e
@@ -95,7 +95,7 @@ var _ sender.Sender = internalPrometheus{}
|
||||
|
||||
// TestRemoteWriteSender runs remote write sender compliance tests defined in
|
||||
// https://github.com/prometheus/compliance/tree/main/remotewrite/sender against
|
||||
// both agent and sever modes.
|
||||
// both agent and server modes.
|
||||
func TestRemoteWriteSender(t *testing.T) {
|
||||
t.Run("mode=server", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
@@ -95,7 +95,9 @@ type Options struct {
|
||||
|
||||
// EnableSTStorage determines whether agent DB should write a Start Timestamp (ST)
|
||||
// per sample to WAL.
|
||||
// Represents 'st-storage' feature flag.
|
||||
// Controlled by the `--enable-feature=st-storage` CLI flag; when enabled, ST is
|
||||
// persisted to the WAL for samples that include a non-zero start timestamp in
|
||||
// supported record types.
|
||||
EnableSTStorage bool
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user