Commit Graph

168 Commits (9de62707b32ae8e7b801567cfbc005b16d748733)

Author SHA1 Message Date
DrAuYueng e8be1d0a5c
Check relabel action at yaml unmarshal stage (#9224)
3 years ago
SuperQ e167a45c65
Add new Go build tags.
3 years ago
Oleg Zaytsev 4d654ee22b
Benchmark Labels.Get() and document the result (#9242)
3 years ago
Oleg Zaytsev 280eaf33f0
Use global string map for MatchType.String() (#9237)
3 years ago
cw9 13cd50c52e Return error on NaN and Inf timestamps for OpenMetrics parser
3 years ago
Michal Wasilewski 3f686cad8b
fixes yamllint errors
4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Levi Harrison 17ea8d006a
Added external URL access
4 years ago
Callum Styan 8fd73b1d28
Add Exemplar Remote Write support (#8296)
4 years ago
Ben Kochie a06dcd7771
Update Makefile.common
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
Julien Pivotto 22cfa10685 Add hashmod relabeling test with hasmod and a newline
4 years ago
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