Commit Graph

148 Commits (7c0d5ae4e7bc015fabe185202c167293be31bdc9)

Author SHA1 Message Date
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
Peter Tribble 90c3615a2c Fix solaris build. (#6149)
5 years ago
zhulongcheng 970ef41bb6 Fix exported function comments (#6002)
5 years ago
Brian Brazil 94b1af1471
Update to disallow new Go 1.13 float formats. (#5984)
5 years ago
Simon Pasquier 06066a3619
*: improve error messages when parsing bad rules (#5965)
5 years ago
Brian Brazil c66bfce8cf
Don't panic on short input. (#5939)
5 years ago
Tobias Klauser 02430f88da pkg/runtime: simplify Utsname string conversion (#5625)
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Brian Brazil e62f30d497
Correctly handle empty labels from alert templates. (#5845)
5 years ago