Documentation ¶
Index ¶
- func GenerateDataSamples(numSamples int, seed int64, timeStep time.Duration) model.Samples
- func GenerateRemoteRequest(samples model.Samples) *prompb.WriteRequest
- func PostWriteRequest(baseURL string, req *prompb.WriteRequest, internal bool) (*http.Response, error)
- func QueryAPI(baseURL, query string, ts time.Time) (model.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDataSamples ¶
FIXME: Test distribution of randomness FIXME: Test for uniqueness of time-series generated FIXME: Support characters other than lowercase letters
func GenerateRemoteRequest ¶
func GenerateRemoteRequest(samples model.Samples) *prompb.WriteRequest
func PostWriteRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.