Commit Graph

27 Commits (bwplotka-patch-1)

Author SHA1 Message Date
machine424 8bcb4d865d
feat: normalize "le" and "quantile" labels values upon ingestion 1 year ago
Bartlomiej Plotka f6e110d588
textparse: Refactored main testing utils for reusability; fixed proto Units. (#15095) 1 year ago
Bartlomiej Plotka 8d281c3491
textparse: Refactored benchmark (#15083) 1 year ago
Matthieu MOREL ab64966e9d
fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 1 year ago
Manik Rana 98cd80b2e2
feat: add microbenchmarks for OM CT parsing (#14933) 1 year ago
Manik Rana 315165e49d refac: make typeRequiresCT private 1 year ago
Nathan Baulch 50cd453c8f
chore: Fix typos (#14868) 1 year ago
Manik Rana 02c465bf58
textparse: Implement `CreatedTimestamp()` in `openmetricsparse.go` (#14356) 1 year ago
Arthur Silva Sens 07355c9199
Bump client_golang to 1.19 2 years ago
Bryan Boreham ba6aa95222 refactor: metrics parsing: extract common checking code 2 years ago
Bryan Boreham eff3a13e19 model/textparse: parsers take a labels SymbolTable 2 years ago
Bryan Boreham 93b72ec5dd tsdb: create SymbolTables for labels as required 2 years ago
Łukasz Mierzwa 5597020a60 Use github.com/klauspost/compress for gzip and zlib 2 years ago
Owen Williams a28d7865ad UTF-8: Add support for parsing UTF8 metric and label names 2 years ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places 2 years ago
Bryan Boreham 8065bef172 Move metric type definitions to common/model 2 years ago
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) 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 bdc763f95f pkg/textparse: allow null bytes in label values 9 years ago