fix few typo (#8023)

Signed-off-by: garanews <puntogtg@tiscali.it>
This commit is contained in:
garanews 2020-10-07 17:51:31 +02:00 committed by GitHub
parent bf7c771f54
commit c38816828f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ scrape_configs:
# Create a job for Docker daemons.
#
# This exemple requires Docker daemons to be configured to expose
# This example requires Docker daemons to be configured to expose
# Prometheus metrics, as documented here:
# https://docs.docker.com/config/daemon/prometheus/
- job_name: 'docker'

View file

@ -261,7 +261,7 @@ func TestHeadReadWriter_Truncate(t *testing.T) {
// TestHeadReadWriter_Truncate_NoUnsequentialFiles tests
// that truncation leaves no unsequential files on disk, mainly under the following case
// * There is an empty file in between the sequence while the truncation
// deletes files only upto a sequence before that (i.e. stops deleting
// deletes files only up to a sequence before that (i.e. stops deleting
// after it has found a file that is not deletable).
// This tests https://github.com/prometheus/prometheus/issues/7412 where
// the truncation used to check all the files for deletion and end up

View file

@ -2323,7 +2323,7 @@ func (mc *mmappedChunk) OverlapsClosedInterval(mint, maxt int64) bool {
// SeriesLifecycleCallback specifies a list of callbacks that will be called during a lifecycle of a series.
// It is always a no-op in Prometheus and mainly meant for external users who import TSDB.
// All the callbacks should be safe to be called concurrently.
// It is upto the user to implement soft or hard consistency by making the callbacks
// It is up to the user to implement soft or hard consistency by making the callbacks
// atomic or non-atomic. Atomic callbacks can cause degradation performance.
type SeriesLifecycleCallback interface {
// PreCreation is called before creating a series to indicate if the series can be created.