Commit Graph

51 Commits (dbbfd1ccf657e831d752932f4fdb4e847429780e)

Author SHA1 Message Date
Bryan Boreham 92a3eeac55
Create less garbage when parsing metrics (#9299)
3 years ago
cw9 13cd50c52e Return error on NaN and Inf timestamps for OpenMetrics parser
3 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
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
Ben Kochie 269e7c8091
Fix golint issues.
5 years ago
Julien Pivotto ed623f69e2
tsdb: don't allow ingesting empty labelsets (#6891)
5 years ago
Julien Pivotto 40b66d29ff
OpenMetrics parse: avoid setting prev token (#6781)
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
Callum Styan 54e3fc82f1 Add a README.md to textparse package about how to update lexers.
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
Brian Brazil c66bfce8cf
Don't panic on short input. (#5939)
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify
5 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Giedrius Statkevičius 10ec2552af promparse: sort all labels when parsing (#5372)
6 years ago
AixesHunter 9f903fb3f7 github.com/cznic/golex has moved to modernc.org/golex (#5034)
6 years ago
Brian Brazil 3fdb92010e Expand OM to OpenMetrics
6 years ago
Brian Brazil 9c03e11c2c Hook OpenMetrics parser into scraping.
6 years ago
Brian Brazil c271ef456a Add an OpenMetrics parser.
6 years ago
Brian Brazil ffe7efb411 Prepare for multiple text formats
6 years ago
Brian Brazil 70c98a06f1
Handle empty HELP in text parser. (#4444)
6 years ago
Fabian Reinartz 0ff42e754e pkg/textparse: unescape help string
7 years ago
Fabian Reinartz 5fcc5b6028 pkg/textparse: support null bytes in comments and help
7 years ago
Fabian Reinartz 76a4a46cb0 pkg/textparse: refactor and add metadata handling
7 years ago
Filip Ochnik ec1c6b7c29 textparse: reject empty label names
7 years ago
Julius Volz c3d6abc8e6 Fix some lint errors (#3334)
7 years ago
Goutham Veeramachaneni 11ee713ced Handle common escape characters properly. (#2995)
7 years ago
Julius Volz c6f41ce391 Allow metric and label names to begin with underscores (#2961)
7 years ago
Goutham Veeramachaneni b7eddbcd98 textparse: Add fuzzing and fix bug caught
7 years ago
Goutham Veeramachaneni 0e78b7e7c8 parser: support spaces everywhere
8 years ago
Brian Brazil dd07f693c8 Single quotes are not valid label value delimiters.
8 years ago
Brian Brazil a6ca391e6e Reject scrapes with invalid utf-8 label values.
8 years ago
Fabian Reinartz bc7aff8cef retrieval: extract scrape cache
8 years ago
Fabian Reinartz a83014f53c retrieval: fix memory leak and consumption for caches
8 years ago
Fabian Reinartz bdc763f95f pkg/textparse: allow null bytes in label values
8 years ago
Fabian Reinartz ea09299ca5 pkg/textparse: handle trailing labels comma (#2752)
8 years ago
Brian Brazil beaa7d5a43 Move consistent NaN logic into the parser.
8 years ago
Fabian Reinartz f7c5d96e84 pkg/textparse: parse metric names with ':'
8 years ago
Fabian Reinartz 377886b371 pkg/textparse: implement timestamp parsing
8 years ago
Brian Brazil 5c9a6ce747 Add license to files.
8 years ago
Fabian Reinartz d9fb57cde4 *: Simplify []byte to string unsafe conversion
8 years ago
Fabian Reinartz d80a3de235 pkg/textparse: add documentation
8 years ago
Fabian Reinartz db48726a6b pkg/textparse: allocate single string per metric
8 years ago
Fabian Reinartz c691895a0f retrieval: cache series references, use pkg/textparse
8 years ago
Fabian Reinartz fb3ab9bdb7 pkg/textparse: add more benchmarking, align lex defs
8 years ago
Fabian Reinartz e44d80314d pkg/textparse: add tests and method to retrieve full labels
8 years ago