-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated query_frontend_test.go and query_test.go
Updated query_frontend_test: -- Added prompb import -- Using a predefined timestamp -- tempfn used in instant query function calls, need to return time -- removed prom instance, and using receiver instance instead, so that we can implement the tests using predefined timestamps -- Using a single sample which is remote written into the receiver -- The RemoteWrite function implemented in query_test, and performs a remote write of a Timeseries into teh receiver -- Have changed various query parameters and structure of Model.Metric to match the specified sample -- Changed testing parameters to match the changed configuration Updated query_test.go: -- Added "bytes" import -- Implemented teh RemoteWrite function that performs a remote write of a Timeseries into teh receiver Signed-off-by: pawarpranav83 <[email protected]>
- Loading branch information
pawarpranav83
committed
Dec 24, 2023
1 parent
bd7accb
commit d5651b0
Showing
2 changed files
with
80 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters