Commit Graph

52 Commits (423bde533c8c5c553c80b25490e459d4735e1eca)

Author SHA1 Message Date
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Bartlomiej Plotka 9981b3f3ee
labels: Reduce allocated memory and latency of Hash method; Added tests. (#8025)
4 years ago
Bartlomiej Plotka dee6ac274e
labels: Extra tests and comment for WithoutLabels method. (#8024)
4 years ago
Brian Brazil cf273f21bb
Add a testcase for #8040 (#8042)
4 years ago
Brian Brazil 924ce978b7
Don't do literal regex matching optimisation when case insensitive. (#8013)
4 years ago
Guangwen Feng e6f2b8ad60
Fix golint issue in labels.go (#7730)
4 years ago
Marco Pracucci 2f6bf7de4c
Optimise labels regex matchers containing a literal within the pattern (#7503)
4 years ago
Marco Pracucci cef4dd6fff
Optimized label regex matcher with literal prefix and/or suffix (#7453)
4 years ago
Chris Marchbanks ec45e3d029
Remove duplicate test in labels_test.go (#7461)
5 years ago
Guangwen Feng b41adab735
Add unit test case for func FromStrings in labels.go (#7321)
5 years ago
Hu Shuai e5ffa8c9a0
Add some unit tests for pkg/labels/labels.go (#7358)
5 years ago
Hu Shuai 6ff4814a49
Add some unit tests for pkg/labels/labels.go (#7347)
5 years ago
Callum Styan 5bb7f00d00
change labelset comparison in promql engine to avoid false positive during detection of duplicates (#7058)
5 years ago
Hu Shuai da217cbde2
Add some unit tests for funcs in pkg/labels/labels.go (#7116)
5 years ago
ZouYu 06493b7034
add unit test TestLabels_String for pkg/labels/labels.go (#7150)
5 years ago
Hu Shuai 002b391dfc
Add unit test for Has in pkg/labels/labels.go (#7039)
5 years ago
Ben Kochie 269e7c8091
Fix golint issues.
5 years ago
Guangwen Feng a128fc3534
Add unit tests in labels.go (#6921)
5 years ago
Guangwen Feng 87971fff90
Add unit test for func WithoutEmpty in labels.go (#6848)
5 years ago
Guangwen Feng 14182c1420
Fix golint warning in labels.go (#6839)
5 years ago
Ben Ye 492414542e
fix matcher for regex (#6540)
5 years ago
Julien Pivotto 46d18112a3 tsdb: error on series with duplicate labels (#6664)
5 years ago
Hu Shuai a7f16749b7 Add unit test for Inverse in pkg/labels/matcher.go (#6586)
5 years ago
Brian Brazil a9ed3b980d
Optimise labels.Compare (#6539)
5 years ago
Julius Volz ae93bae88f Fix: exclude metric name in labels.MatchLabels() (#6523)
5 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326)
5 years ago
Brian Brazil e62f30d497
Correctly handle empty labels from alert templates. (#5845)
5 years ago
Ganesh Vernekar 588eb20018
Efficient iteration and search in HashForLabels and HashWithoutLabels (#5707)
6 years ago
Thomas Jackson a000cec011 Re-use label builder in promql aggregation (#5641)
6 years ago
Tom Wilkie c7b3535997 Use pkg/relabelling in remote write.
6 years ago
Tariq Ibrahim a2a6e24f9f show list of offending labels in the error message in many-to-many scenarios (#5189)
6 years ago
JoeWrightss e158c53fa9 Fix some typos in comment (#5175)
6 years ago
Alin Sinpalean 96fb0b2155 Optimize PromQL aggregations (#4248)
6 years ago
Krasi Georgiev 675ce533c9 refactored TestScrapeLoopAppend and added a test for empty labels
7 years ago
Brian Brazil 4addee2bee Fix honor_labels for empty labels, prune empty labels.
7 years ago
Julius Volz c3d6abc8e6 Fix some lint errors (#3334)
7 years ago
Julius Volz 5da0fd91db Add label matcher tests
7 years ago
Julius Volz 33c1171b9c Don't add anchoring to exported `Value` matcher field
7 years ago
Brian Brazil 9aa8f822c1 Fix typo
8 years ago
Brian Brazil 5c9a6ce747 Add license to files.
8 years ago
Fabian Reinartz 8ffc851147 Merge branch 'master' into dev-2.0
8 years ago
Fabian Reinartz e94b0899ee rules: fix tests, remove model types
8 years ago
Fabian Reinartz 8b4e4a9d2b notifier: fully use labels.Labels
8 years ago
Fabian Reinartz f8fc1f5bb2 *: migrate ingestion to new batch Appender
8 years ago
Fabian Reinartz 71fe0c58a8 promql: misc fixes
8 years ago
Fabian Reinartz fecf9532b9 *: fix misc compile errors
8 years ago
Fabian Reinartz 0492ddbd4d *: fully decouple tsdb, add new storage interfaces
8 years ago
Fabian Reinartz 5817cb5bde *: migrate from model.* to promql.* types
8 years ago