Documentation ¶
Index ¶
- func GeneratePromReadRequest() *prompb.ReadRequest
- func GeneratePromReadRequestBody(t *testing.T, req *prompb.ReadRequest) io.Reader
- func GeneratePromWriteRequest() *prompb.WriteRequest
- func GeneratePromWriteRequestBody(t require.TestingT, req *prompb.WriteRequest) io.Reader
- func GeneratePromWriteRequestBodyBytes(t require.TestingT, req *prompb.WriteRequest) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePromReadRequest ¶
func GeneratePromReadRequest() *prompb.ReadRequest
GeneratePromReadRequest generates a Prometheus remote read request.
func GeneratePromReadRequestBody ¶
GeneratePromReadRequestBody generates a Prometheus remote read request body.
func GeneratePromWriteRequest ¶
func GeneratePromWriteRequest() *prompb.WriteRequest
GeneratePromWriteRequest generates a Prometheus remote write request.
func GeneratePromWriteRequestBody ¶
GeneratePromWriteRequestBody generates a Prometheus remote write request body.
func GeneratePromWriteRequestBodyBytes ¶ added in v0.15.0
func GeneratePromWriteRequestBodyBytes( t require.TestingT, req *prompb.WriteRequest, ) []byte
GeneratePromWriteRequestBodyBytes generates a Prometheus remote write request body.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.