Commit Graph

156 Commits (8c8de46003d1800c9d40121b4a5e5de8582ef6e1)

Author SHA1 Message Date
Ganesh Vernekar 9199fcb8d1
'@ <timestamp>' modifier (#8121)
4 years ago
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
Li Zhijian 6f6ef1451e
Cleanup tempfiles (#7696)
4 years ago
Max Neverov 7c8bbd6bcb
Add fmt rule check: labels with the name __name__ are invalid (#7787)
4 years ago
Julien Pivotto fd06416057
Use strict unmarshalling of rules (#7767)
4 years ago
Guangwen Feng e6f2b8ad60
Fix golint issue in labels.go (#7730)
4 years ago
Callum Styan 0f76024eeb
Clarify error messaging, group names must be provided. (#7529)
4 years ago
Marco Pracucci 2f6bf7de4c
Optimise labels regex matchers containing a literal within the pattern (#7503)
4 years ago
Mikael Johansson a98be49c52
Change rule index numbering from 0 to n+1 on errors found in rule files (#7495)
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
Bartlomiej Plotka 1bd55973c3 Fixed flakty pool test.
5 years ago
ZouYu 5c5ac7cc3e
add unit test for pkg/pool/pool.go (#7152)
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
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Ben Kochie 269e7c8091
Fix golint issues.
5 years ago
johncming 51c824543b
fix bug missing an error. (#7020)
5 years ago
Guangwen Feng a128fc3534
Add unit tests in labels.go (#6921)
5 years ago
Julien Pivotto ed623f69e2
tsdb: don't allow ingesting empty labelsets (#6891)
5 years ago
Tobias Guggenmos 4835bbf376
Merge branch 'master' into split_parser
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
Tobias Guggenmos 20b1f596f6 Fix build errors in rest of prometheus
5 years ago
Björn Rabenstein af04cb22c8
Merge pull request #6821 from prometheus/release-2.16
5 years ago
Julien Pivotto 40b66d29ff
OpenMetrics parse: avoid setting prev token (#6781)
5 years ago
Ben Ye 492414542e
fix matcher for regex (#6540)
5 years ago
Julien Pivotto 2b2eb79e8b Add windows tests for query logger (#6653)
5 years ago
Julien Pivotto 46d18112a3 tsdb: error on series with duplicate labels (#6664)
5 years ago
Harkishen Singh 84e6459c4d Adds support for line-column numbers for invalid rules, promtool (#6533)
5 years ago
Hu Shuai a7f16749b7 Add unit test for Inverse in pkg/labels/matcher.go (#6586)
5 years ago
Julien Pivotto 9d9bc524e5 Add query log (#6520)
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
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
Julien Pivotto 9398b9ac1b OpenMetrics: force input to end with # EOF (#6505)
5 years ago
shreyassrivatsan e825282dd1 Add exemplar support to the openmetrics parser (#6292)
5 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326)
5 years ago
Callum Styan 54e3fc82f1 Add a README.md to textparse package about how to update lexers.
5 years ago