Commit Graph

50 Commits (c8a2ffdb7225019be2d2878005f6812d4f58f2cc)

Author SHA1 Message Date
cw9 13cd50c52e Return error on NaN and Inf timestamps for OpenMetrics parser 5 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635) 5 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 5 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110) 5 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 5 years ago
Ben Kochie 269e7c8091
Fix golint issues. 6 years ago
Julien Pivotto ed623f69e2
tsdb: don't allow ingesting empty labelsets (#6891) 6 years ago
Julien Pivotto 40b66d29ff
OpenMetrics parse: avoid setting prev token (#6781) 6 years ago
Julien Pivotto 9398b9ac1b OpenMetrics: force input to end with # EOF (#6505) 6 years ago
shreyassrivatsan e825282dd1 Add exemplar support to the openmetrics parser (#6292) 6 years ago
Callum Styan 54e3fc82f1 Add a README.md to textparse package about how to update lexers. 6 years ago
zhulongcheng 970ef41bb6 Fix exported function comments (#6002) 6 years ago
Brian Brazil 94b1af1471
Update to disallow new Go 1.13 float formats. (#5984) 6 years ago
Brian Brazil c66bfce8cf
Don't panic on short input. (#5939) 6 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge. 6 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify 6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388) 7 years ago
Giedrius Statkevičius 10ec2552af promparse: sort all labels when parsing (#5372) 7 years ago
AixesHunter 9f903fb3f7 github.com/cznic/golex has moved to modernc.org/golex (#5034) 7 years ago
Brian Brazil 3fdb92010e Expand OM to OpenMetrics 7 years ago
Brian Brazil 9c03e11c2c Hook OpenMetrics parser into scraping. 7 years ago
Brian Brazil c271ef456a Add an OpenMetrics parser. 7 years ago
Brian Brazil ffe7efb411 Prepare for multiple text formats 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
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
Filip Ochnik ec1c6b7c29 textparse: reject empty label names 8 years ago
Julius Volz c3d6abc8e6 Fix some lint errors (#3334) 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
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
Fabian Reinartz ea09299ca5 pkg/textparse: handle trailing labels comma (#2752) 9 years ago
Brian Brazil beaa7d5a43 Move consistent NaN logic into the parser. 9 years ago
Fabian Reinartz f7c5d96e84 pkg/textparse: parse metric names with ':' 9 years ago
Fabian Reinartz 377886b371 pkg/textparse: implement timestamp parsing 9 years ago
Brian Brazil 5c9a6ce747 Add license to files. 9 years ago
Fabian Reinartz d9fb57cde4 *: Simplify []byte to string unsafe conversion 9 years ago
Fabian Reinartz d80a3de235 pkg/textparse: add documentation 9 years ago
Fabian Reinartz db48726a6b pkg/textparse: allocate single string per metric 9 years ago
Fabian Reinartz c691895a0f retrieval: cache series references, use pkg/textparse 9 years ago