package
0.37.2
Repository: https://github.com/thanos-io/thanos.git
Documentation: pkg.go.dev

# Functions

AddDelay rewrites a given block with delay.
CreateBlock writes a block with the given series and numSamples samples each.
CreateBlockWithBlockDelay writes a block with the given series and numSamples samples each.
CreateBlockWithChurn writes a block with the given series.
CreateBlockWithTombstone is same as CreateBlock but leaves tombstones which mimics the Prometheus local block.
CreateEmptyBlock produces empty block like it was the case before fix: https://github.com/prometheus/tsdb/pull/374.
CreateFloatHistogramBlockWithDelay writes a block with the given float native histogram series and numSamples samples each.
CreateHistogramBlockWithDelay writes a block with the given native histogram series and numSamples samples each.
FreePort returns port that is free now.
NewPrometheus creates a new test Prometheus instance that will listen on local address.
NewPrometheusOnPath creates a new test Prometheus instance that will listen on local address and given prefix path.
RandRange returns a random int64 from [min, max].

# Constants

A placeholder for actual Prometheus instance address in the scrape config.

# Structs

Prometheus represents a test instance for integration testing.