Commit Graph

72 Commits (f0a1ebc19df4bb580bb560a191d121cb7bf3ce67)

Author SHA1 Message Date
Krasi Georgiev 12fe204ea6
move runtime debug funcs in own package (#4494) 7 years ago
jojohappy f5794b0ff9 Revert the testdata.txt, should be no change 8 years ago
jojohappy f3735d0ead Remove useless testdata 8 years ago
jojohappy 21e50a3f9d Upgrade k8s client to kubernetes-1.11.0 8 years ago
Brian Brazil 70c98a06f1
Handle empty HELP in text parser. (#4444) 8 years ago
Alin Sinpalean 96fb0b2155 Optimize PromQL aggregations (#4248) 8 years ago
Fabian Reinartz 0ff42e754e pkg/textparse: unescape help string 8 years ago
Fabian Reinartz 5fcc5b6028 pkg/textparse: support null bytes in comments and help 8 years ago
Fabian Reinartz 76a4a46cb0 pkg/textparse: refactor and add metadata handling 8 years ago
Elif T. Kuş 57dcdfb15f Rewrote tests with testutil for several test files (#4086) 8 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033) 8 years ago
Krasi Georgiev 933ab8a34e stupid return mistake fix, and dropped the additional assertion check! 8 years ago
Krasi Georgiev 675ce533c9 refactored TestScrapeLoopAppend and added a test for empty labels 8 years ago
Brian Brazil 4addee2bee Fix honor_labels for empty labels, prune empty labels. 8 years ago
Krasi Georgiev 9b7f0cfa88 rename initialize to make 8 years ago
Krasi Georgiev 9878d66484 exit early and panic for non slice on buffer.Put 8 years ago
Krasi Georgiev f2c5913416 generalize the pool package and refactor scraper to use it. 8 years ago
Filip Ochnik ec1c6b7c29 textparse: reject empty label names 8 years ago
Krasi Georgiev b75428ec19 rename package retrieve to scrape 8 years ago
Julius Volz 192e665317 rulefmt: Allow parsing from bytes instead of file 8 years ago
Conor Broderick 59d4c539d1 Added rule name to rule error for easier debugging (#3549) 8 years ago
Julius Volz c3d6abc8e6 Fix some lint errors (#3334) 8 years ago
Krasi Georgiev 3697075b8f validates that the recording name to include only allowed characters. (#3305) 8 years ago
Julius Volz 5da0fd91db Add label matcher tests 8 years ago
Julius Volz 33c1171b9c Don't add anchoring to exported `Value` matcher field 8 years ago
Fabian Reinartz d6f6ad67b3 pkg/pool: create bucketed memory pool package. 8 years ago
Goutham Veeramachaneni 11ee713ced Handle common escape characters properly. (#2995) 9 years ago
Julius Volz c6f41ce391 Allow metric and label names to begin with underscores (#2961) 9 years ago
Goutham Veeramachaneni b7eddbcd98 textparse: Add fuzzing and fix bug caught 9 years ago
Goutham Veeramachaneni 0e78b7e7c8 parser: support spaces everywhere 9 years ago
Brian Brazil dd07f693c8 Single quotes are not valid label value delimiters. 9 years ago
Brian Brazil a6ca391e6e Reject scrapes with invalid utf-8 label values. 9 years ago
Goutham Veeramachaneni 592cb00c2f
Remove version from RuleGroups 9 years ago
Goutham Veeramachaneni 6b70a4d850
Incorporate PR feedback 9 years ago
Goutham Veeramachaneni dc69645e92
Move back to go-yaml 9 years ago
Goutham Veeramachaneni e893c89333
Validate labels and annotations 9 years ago
Goutham Veeramachaneni c884881f7d
Add License Header 9 years ago
Goutham Veeramachaneni 2d1e92513b
Add tests 9 years ago
Goutham Veeramachaneni a48a018368
Make sure groups are unique in a single file 9 years ago
Goutham Veeramachaneni cea1e99f78
Add update-rules command to promtool 9 years ago
Goutham Veeramachaneni e8f55669ea Move rules to new format 9 years ago
Fabian Reinartz c843a0cd29 pkg/rulefmt: Add rule group parsing 9 years ago
Fabian Reinartz bc7aff8cef retrieval: extract scrape cache 9 years ago
Fabian Reinartz a83014f53c retrieval: fix memory leak and consumption for caches 9 years ago
Fabian Reinartz bdc763f95f pkg/textparse: allow null bytes in label values 9 years ago
Brian Brazil 9aa8f822c1 Fix typo 9 years ago
Fabian Reinartz ea09299ca5 pkg/textparse: handle trailing labels comma (#2752) 9 years ago
Brian Brazil 73049ba79d Make the choice of NaN values clearer. 9 years ago
Brian Brazil a5cf25743c Move stalness check into a function 9 years ago
Brian Brazil beaa7d5a43 Move consistent NaN logic into the parser. 9 years ago