Commit Graph

44 Commits (89d2f5ec1df563070d9f001162b0862f9670fe2d)

Author SHA1 Message Date
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)
4 years ago
Guangwen Feng b41adab735
Add unit test case for func FromStrings in labels.go (#7321)
4 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)
5 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
Fabian Reinartz 9ea10d5265 promql: use labels.Builder to modify labels
8 years ago
Fabian Reinartz c6cd998905 promql: use local labels, add conversion
8 years ago