From 501e1959cb6c6f5e8b23b787b2c4d222fc83a231 Mon Sep 17 00:00:00 2001 From: sunxunle Date: Sun, 17 Mar 2024 00:47:12 +0800 Subject: [PATCH] chore: remove repetitive words Signed-off-by: sunxunle --- docs/sources/configure-client/grafana-agent/sampling.md | 2 +- docs/sources/release-notes/v1-1.md | 2 +- examples/tracing/tempo/tempo/tempo.yml | 2 +- pkg/phlaredb/tsdb/bitprefix.go | 2 +- pkg/validation/limits.go | 4 ++-- public/app/components/ExportData.spec.tsx | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/sources/configure-client/grafana-agent/sampling.md b/docs/sources/configure-client/grafana-agent/sampling.md index dee6beb821..488b4e2e96 100644 --- a/docs/sources/configure-client/grafana-agent/sampling.md +++ b/docs/sources/configure-client/grafana-agent/sampling.md @@ -61,4 +61,4 @@ discovery.relabel "profile_pods" { This strategy does not guarantee precise sampling. Due to its reliance on an MD5 hash, there is not a perfectly uniform distribution of scrape targets into shards. Larger numbers of scrape targets will yield increasingly accurate sampling. -Keep in mind, if the label being hashed is deterministic, you will see deterministic sharding and thereby deterministic sampling of scrape targets. Similarly, if the the label being hashed is non-deterministic, you will see scrape targets being sampled in a non-deterministic fashion. +Keep in mind, if the label being hashed is deterministic, you will see deterministic sharding and thereby deterministic sampling of scrape targets. Similarly, if the label being hashed is non-deterministic, you will see scrape targets being sampled in a non-deterministic fashion. diff --git a/docs/sources/release-notes/v1-1.md b/docs/sources/release-notes/v1-1.md index d8cef0d24a..79ec052c9e 100644 --- a/docs/sources/release-notes/v1-1.md +++ b/docs/sources/release-notes/v1-1.md @@ -7,7 +7,7 @@ weight: 850 # Version 1.1 release notes -The Pyroscope team is excited to announce the the second release. This release allows to retrieve series from persistent storages like local disk and object store and also has a couple of performance improvements (e.g., JFR ingestion is handled a lot more efficiently). +The Pyroscope team is excited to announce the second release. This release allows to retrieve series from persistent storages like local disk and object store and also has a couple of performance improvements (e.g., JFR ingestion is handled a lot more efficiently). As always, feedback is more than welcome, feel free to open issues/discussions. You can reach out to the team using: diff --git a/examples/tracing/tempo/tempo/tempo.yml b/examples/tracing/tempo/tempo/tempo.yml index df25862f84..7a558043a3 100644 --- a/examples/tracing/tempo/tempo/tempo.yml +++ b/examples/tracing/tempo/tempo/tempo.yml @@ -34,6 +34,6 @@ storage: trace: backend: local # backend configuration to use wal: - path: /tmp/tempo/wal # where to store the the wal locally + path: /tmp/tempo/wal # where to store the wal locally local: path: /tmp/tempo/blocks diff --git a/pkg/phlaredb/tsdb/bitprefix.go b/pkg/phlaredb/tsdb/bitprefix.go index 809588ff6f..de5ec9b4f7 100644 --- a/pkg/phlaredb/tsdb/bitprefix.go +++ b/pkg/phlaredb/tsdb/bitprefix.go @@ -55,7 +55,7 @@ func (ii *BitPrefixInvertedIndex) getShards(shard *shard.Annotation) ([]*indexSh } // When comparing a higher shard factor to a lower inverted index shard factor - // we must filter resulting fingerprints as the the lower shard factor in the + // we must filter resulting fingerprints as the lower shard factor in the // inverted index is a superset of the requested factor. // // For instance, the 3_of_4 shard factor maps to the bit prefix 0b11. diff --git a/pkg/validation/limits.go b/pkg/validation/limits.go index d20c4bcc5d..7e4d031298 100644 --- a/pkg/validation/limits.go +++ b/pkg/validation/limits.go @@ -439,7 +439,7 @@ func (sm *OverwriteMarshalingStringMap) Map() map[string]string { return sm.m } -// MarshalJSON explicitly uses the the type receiver and not pointer receiver +// MarshalJSON explicitly uses the type receiver and not pointer receiver // or it won't be called func (sm OverwriteMarshalingStringMap) MarshalJSON() ([]byte, error) { return json.Marshal(sm.m) @@ -455,7 +455,7 @@ func (sm *OverwriteMarshalingStringMap) UnmarshalJSON(val []byte) error { return nil } -// MarshalYAML explicitly uses the the type receiver and not pointer receiver +// MarshalYAML explicitly uses the type receiver and not pointer receiver // or it won't be called func (sm OverwriteMarshalingStringMap) MarshalYAML() (interface{}, error) { return sm.m, nil diff --git a/public/app/components/ExportData.spec.tsx b/public/app/components/ExportData.spec.tsx index 25c2c4a1c4..6512da47b9 100644 --- a/public/app/components/ExportData.spec.tsx +++ b/public/app/components/ExportData.spec.tsx @@ -113,7 +113,7 @@ describe('ExportData', () => { ); }); - it('uses the the date if its the only thing available', () => { + it('uses the date if its the only thing available', () => { expect( getFilename( undefined,