# Functions
AddDelay rewrites a given block with delay.
No description provided by the author
No description provided by the author
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.
No description provided by the author
FreePort returns port that is free now.
No description provided by the author
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.
No description provided by the author
No description provided by the author
RandRange returns a random int64 from [min, max].
No description provided by the author
# Constants
A placeholder for actual Prometheus instance address in the scrape config.
# Structs
Prometheus represents a test instance for integration testing.