Commit Graph

11 Commits (99c17b431928c8e7dc64bc045ac0db6abe46c9e2)

Author SHA1 Message Date
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 3 years ago
Damien Grisonnet e3b5416d05 model/textparse: improve error outputs 3 years ago
Damien Grisonnet 96b9d8cebb model/textparse: associate correct token to errors 3 years ago
Bryan Boreham 8d350d9e0c Update package model/textparse tests for new labels.Labels type 3 years ago
Bryan Boreham 8120af22e2 benchmarks: SetBytes takes bytes per operation 3 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279) 3 years ago
Matthieu MOREL c2b4de3611
refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747) 4 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528) 4 years ago
Levi Harrison a9e2ffb717
Specify type in metadata parser errors (#10269) 4 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 4 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra' 4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 5 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 5 years ago
Julien Pivotto ed623f69e2
tsdb: don't allow ingesting empty labelsets (#6891) 6 years ago
Brian Brazil 94b1af1471
Update to disallow new Go 1.13 float formats. (#5984) 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
Giedrius Statkevičius 10ec2552af promparse: sort all labels when parsing (#5372) 7 years ago
Brian Brazil 3fdb92010e Expand OM to OpenMetrics 7 years ago
Brian Brazil c271ef456a Add an OpenMetrics parser. 7 years ago
Brian Brazil ffe7efb411 Prepare for multiple text formats 7 years ago
Brian Brazil 70c98a06f1
Handle empty HELP in text parser. (#4444) 7 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 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
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 fb3ab9bdb7 pkg/textparse: add more benchmarking, align lex defs 9 years ago
Fabian Reinartz e44d80314d pkg/textparse: add tests and method to retrieve full labels 9 years ago
Fabian Reinartz 091a7f2395 pkg/textparse: add initial text parser 9 years ago