Commit Graph

138 Commits (3067d0bc2fedb199b442073e76ade24cdb16ddaf)

Author SHA1 Message Date
Jeanette Tan 57bde06d2c add doc comments
2 months ago
Jeanette Tan cbd5488cd3 skip nhcb conversion if there is native histogram of same name
2 months ago
Jeanette Tan 0e5072b873 keep only 1 nhcb in memory at at time
2 months ago
Jeanette Tan 172d4f2405 insert nhcb parser as intermediate layer
2 months ago
Bryan Boreham 31c5760551
Neater string vs byte-slice conversions (#14425)
2 months ago
Manik Rana 315165e49d refac: make typeRequiresCT private
2 months ago
Nathan Baulch 50cd453c8f
chore: Fix typos (#14868)
3 months ago
Björn Rabenstein 4ffb74dae4
Merge pull request #14810 from bboreham/fix-proto-parse-exemplar
3 months ago
Bryan Boreham d599c4b28c [BUGFIX] Protobuf scraping: reset exemplar position
3 months ago
Bryan Boreham 3aaf2c3c9d [TESTS] Add second native histogram with exemplars in TestProtobufParse
3 months ago
Bryan Boreham e8ecc11816 [TESTS] Fix up item numbers in TestProtobufParse
3 months ago
riskrole 406bf775aa chore: fix some comments
3 months ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments
3 months ago
Manik Rana 02c465bf58
textparse: Implement `CreatedTimestamp()` in `openmetricsparse.go` (#14356)
4 months ago
Arthur Silva Sens 07355c9199
Bump client_golang to 1.19
9 months ago
Ondrej Kokes 2e30f1231b docs: textparse.Parser return type mismatch
9 months ago
Bryan Boreham ba6aa95222 refactor: metrics parsing: extract common checking code
9 months ago
Bryan Boreham eff3a13e19 model/textparse: parsers take a labels SymbolTable
9 months ago
Bryan Boreham 93b72ec5dd tsdb: create SymbolTables for labels as required
9 months ago
Łukasz Mierzwa 5597020a60 Use github.com/klauspost/compress for gzip and zlib
9 months ago
Björn Rabenstein ac10cd4d99
Merge pull request #13271 from ywwg/owilliams/utf8
10 months ago
Owen Williams a28d7865ad UTF-8: Add support for parsing UTF8 metric and label names
10 months ago
Ziqi Zhao a93859a52f
Prometheus support parse exemplars from native histogram (#13488)
10 months ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places
10 months ago
Björn Rabenstein 3db4596965
Merge pull request #13299 from vesari/add-unit-parser
11 months ago
Arianna Vespri 8f07f9dd90 Avoid creating string for suffix, consider counters without _total suffix
11 months ago
Arianna Vespri 9a664b515a Correct order in error message
12 months ago
Arianna Vespri 51e78d9a32 Delete debugging lines, amend error message for unit
12 months ago
Bryan Boreham c83e1fc574 textparse: remove MetricType alias
12 months ago
Bryan Boreham 8065bef172 Move metric type definitions to common/model
12 months ago
Arianna Vespri 3d6a92a25e Merge remote-tracking branch 'prometheus/main' into add-unit-parser
12 months ago
Arianna Vespri b65021d7a5 Get conditional right
12 months ago
Arianna Vespri 9fb1e9715c Go on adding protobuf parsing for unit
12 months ago
Arianna Vespri 5d5acf5744 Add unit protobuf parser
12 months ago
Arthur Silva Sens 5082655392
Append Created Timestamps (#12733)
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
zenador 32ee1b15de
Fix error on ingesting out-of-order exemplars (#13021)
1 year ago
Matthieu MOREL fe057fc60d use Go standard errors package
1 year ago
beorn7 b428416f06 textparse: Update comment about timestamp_ms protobuf parsing
1 year ago
Arthur Silva Sens ef8e6ae780
Parse created timestamps from Prometheus Protobuf (#12973)
1 year ago
Matthieu MOREL 0a513f827d ci(lint): enable errorlint linter on model
1 year ago
beorn7 65ccf4460a textparse: Fix endless loop #12731
1 year ago
beorn7 3d9a830f2f textparse: Expose #12731 in protobufparse_test.go
1 year ago
György Krajcsovits e846736134 Fix typo
1 year ago
beorn7 c58e20ad0e histogram: Identify native histograms even without observations
1 year ago
Julien Pivotto 7905594b52
Merge pull request #12557 from prometheus/beorn7/histogram
1 year ago
beorn7 071f4bbea4 histograms: Fix parsing float histograms without zero bucket
1 year ago
beorn7 2ea8df4734 histogram: Expose #12305
1 year ago
beorn7 0e3f35324b scrape: Enable ingestion of multiple exemplars per sample
1 year ago
beorn7 da047c6857 histograms: Fix bug #12552
1 year ago
beorn7 1c3bd04bea histograms: Modify test to expose bug #12552
1 year ago
beorn7 9e500345f3 textparse/scrape: Add option to scrape both classic and native histograms
2 years ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
Jonatan Ivanov 9225d118dc
Add Exemplars support for all time series
2 years ago
Damien Grisonnet 0fee615719 model/textparse: improve openmetrics error outputs
2 years ago
Damien Grisonnet e3b5416d05 model/textparse: improve error outputs
2 years ago
beorn7 3e5ad99c33 textparse: Minor doc comment improvement
2 years ago
beorn7 3f977e89ab textparse: Add tests for float and gauge histograms
2 years ago
beorn7 c26891043f textparse: Set CounterResetHint
2 years ago
Björn Rabenstein f07adbd45f
Merge pull request #11814 from prometheus/beorn7/protobuf
2 years ago
Ganesh Vernekar c94a41c4b2
Merge pull request #11785 from Fish-pro/erroris
2 years ago
beorn7 b5d4a94e9d textparse: Add gauge histogram support to protobuf parsing
2 years ago
beorn7 e9d9bb1b08 textparse: Handle unknown metric types in protobuf gracefully
2 years ago
Damien Grisonnet 96b9d8cebb model/textparse: associate correct token to errors
2 years ago
Fish-pro 6ed71a229e Use errors.Is to check for a specific error
2 years ago
Bryan Boreham 8d350d9e0c Update package model/textparse tests for new labels.Labels type
2 years ago
Bryan Boreham 1f04899ae3 Update package model/textparse for new labels.Labels type
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Bryan Boreham 8120af22e2 benchmarks: SetBytes takes bytes per operation
2 years ago
beorn7 a7c519930e histograms: Add Compact method to the normal integer Histogram
2 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279)
2 years ago
Marc Tudurí f7df3b86ba
histograms: parse float histograms from proto definition (#11149)
2 years ago
beorn7 89fb7117c3 textparse: Remove TODO that is actually done
2 years ago
beorn7 c40b105efd histograms: Move to new exposition protobuf format
2 years ago
beorn7 28f028e938 Merge branch 'main' into sparsehistogram
2 years ago
Matthieu MOREL c2b4de3611
refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747)
2 years ago
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
beorn7 7ee1836ef5 Merge branch 'main' into sparsehistogram
3 years ago
Peter Štibraný cd18da3605
Fix OpenMetrics parser to sort uppercase labels correctly. (#10510)
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
Levi Harrison a9e2ffb717
Specify type in metadata parser errors (#10269)
3 years ago
Julien Pivotto f695df843f Improve content-type error handling
3 years ago
Matheus Pimenta 8d8ce641a4
error for invalid media type should not be completely swallowed (#10186)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago