Commit Graph

203 Commits (394da05dd407f07b592b097ee6a7b4a54d9d9967)

Author SHA1 Message Date
Fish-pro 6ed71a229e Use errors.Is to check for a specific error
2 years ago
Marc Tudurí 9474610baf
Support FloatHistogram in TSDB (#11522)
2 years ago
Bryan Boreham 10b27dfb84 Simplify IndexReader.Series interface
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
Bryan Boreham fe9fe0e1e5 Update package model/relabel tests for new labels.Labels type
2 years ago
Bryan Boreham 8ad7b64c0f Update package model/relabel for new labels.Labels type
2 years ago
Bryan Boreham b10fd9aea3 model/labels: add a basic test for ScratchBuilder
2 years ago
Bryan Boreham cbf432d2ac Update package labels tests for new labels.Labels type
2 years ago
Bryan Boreham 617bee60f1 labels: use ScratchBuilder in ReadLabels
2 years ago
Bryan Boreham 2b8b8d9ac7 labels: new methods to work without access to internals
2 years ago
Bryan Boreham ea7345a09c labels: improve comment on Builder.Set
2 years ago
Bryan Boreham a19b369f9e labels: avoid lint warning on New()
2 years ago
Julien Pivotto bb323db613
Merge pull request #11074 from damnever/fix/datamodelvalidation
2 years ago
Xiaochao Dong (@damnever) 9979024a30 Report error if the series contains invalid metric names or labels during scrape
2 years ago
Bryan Boreham 8d4140a06e labels: note that Hash may change
2 years ago
Julien Pivotto 005ede70de relabel: add keepequal/dropequal relabel action
2 years ago
Ganesh Vernekar bde500e690
Merge pull request #11420 from jesusvazquez/jvp/update-sparsehistogram-with-main-v2
2 years ago
beorn7 bf0847073d histogram: Modify getBound to deal properly with infinity
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Björn Rabenstein dccfb9db4e
histogram: Remove code replication via generics (#11361)
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
Ganesh Vernekar 2474c6fb2c
Error on amending histograms on append (#11308)
2 years ago
Bryan Boreham 5421c778ba labels: in tests use labels.FromStrings
2 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279)
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Marc Tudurí f7df3b86ba
histograms: parse float histograms from proto definition (#11149)
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Bryan Boreham a7f19b5775 labels: add a test for JSON and YAML marshalling
2 years ago
Bryan Boreham 10699c37a3 labels: test BytesWithoutLabels does not remove __name__ by default
2 years ago
Bryan Boreham d46ef0aa8e labels: tweak BenchmarkLabels_Get()
2 years ago
Bryan Boreham 24ebff9c4a labels: don't test that Hash() works on unordered labels
2 years ago
Bryan Boreham fb2d883f1e labels: test Compare without knowing the exact result
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
Paschalis Tsilias d1122e0743
Introduce TSDB changes for appending metadata to the WAL (#10972)
2 years ago
beorn7 28f028e938 Merge branch 'main' into sparsehistogram
2 years ago
Julien Pivotto c637705403
Merge pull request #10893 from prymitive/unwrap_errors
2 years ago
Matthieu MOREL c2b4de3611
refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747)
2 years ago
Łukasz Mierzwa 648b12d8c5 Implement Unwrap() on errors returned from rulefmt
2 years ago
beorn7 095b6c93dd Merge branch 'main' into sparsehistogram
2 years ago
Paschalis Tsilias 4f3791024a
Drop extra string held in relabel.Regexp struct (#10846)
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
3 years ago
Bryan Boreham 2e2c014d52
Labels: optimise creation of signature with/without labels (#10667)
3 years ago
Łukasz Mierzwa b11062bfcc
Don't count added labels when initializing slice (#10756)
3 years ago
Łukasz Mierzwa 08262454a3
Preallocate Labels in labels.Builder (#10749)
3 years ago
Łukasz Mierzwa 89de30a0b7
Avoid reallocating map in MatchLabels (#10715)
3 years ago
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
3 years ago
beorn7 2d233cf95e Histogram: Fix allFloatBucketIterator
3 years ago
Julien Pivotto 71dbb4d091
Add lowercase and uppercase relabel action (#10641)
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
beorn7 56db51c826 Histgram: Fix Compact for spans of only empty buckets
3 years ago
beorn7 15583af9bb Histogram: Fix crash when compacting only empty buckets
3 years ago
beorn7 08efde4de5 Adjust to newest gofumpt
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 f9c411604d Fix spelling errors
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
beorn7 9fbcf14e5c histogram: Handle changes of the ZeroThreshold and the Schema
3 years ago
Nick Pillitteri 53ac9d6d66
Compare equality of label.Label structs directly (#10427)
3 years ago
Levi Harrison a9e2ffb717
Specify type in metadata parser errors (#10269)
3 years ago
Łukasz Mierzwa da23c4649a
Enable misspell check in golangci-lint (#10393)
3 years ago
Matthias Loibl afdd1357e0
Merge pull request #10267 from roidelapluie/contenttype
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
Bryan Boreham 579331446a
Allow downstream projects to use faster regexp (#10251)
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
Björn Rabenstein ec80745884
Merge pull request #10075 from prometheus/beorn7/histogram
3 years ago
beorn7 3b4d6c3fdb model: Implement FloatHistogram.Compact
3 years ago
beorn7 e7592fe353 sparsehistogram: Address two TODOs
3 years ago
beorn7 27f865ec49 histograms: avoid initialization tracking in reverseFloatBucketIterator
3 years ago
beorn7 a6acdfe346 histograms: Doc comment and naming improvements
3 years ago
Ganesh Vernekar 4a43349aca
`histogram_quantile` for sparse histograms (#9935)
3 years ago
Björn Rabenstein 0e1b9dd308
Promql: Initial rate implementation for sparse histograms (#9926)
3 years ago
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
beorn7 6a820a646c histogram: Add FloatHistogram
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 73858d7f82 storage: histogram support in memoized_iterator
3 years ago
ozairasim 52159840eb
Expose Error function for WrappedError (#9662)
3 years ago
beorn7 f1065e44a4 model: String method for histogram.Histogram
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
beorn7 7a8bb8222c Style cleanup of all the changes in sparsehistogram so far
3 years ago
Bjoern Rabenstein 006b5517e2 Simplify makefiles.
10 years ago
Julius Volz ae30453214 Add label names -> label values index.
11 years ago
Julius Volz 1eee448bc1 Store samples in custom binary encoding.
11 years ago
Julius Volz a310afd28f Update "build" -> ".build" in remaining Makefiles.
12 years ago
Matt T. Proud 30b1cf80b5 WIP - Snapshot of Moving to Client Model.
12 years ago
Julius Volz 0226d1ac7a Implement alerts dashboard and expression console links.
12 years ago
Matt T. Proud f895acb9ef Trailing build system cleanups.
12 years ago
Julius Volz fc97e688c6 Improve printing of rules and expressions.
12 years ago
Julius Volz 74cb676537 Implement Stringer interface for rules and all their children.
12 years ago
Julius Volz dcfd09c801 Prepend "exporter_" to labels that already exist in exported metrics.
12 years ago
Julius Volz 5b105c77fc Repointerize fingerprints.
12 years ago
Julius Volz 259a0ea467 Optimize fingerprint comparison time.
12 years ago
Matt T. Proud 8f4c7ece92 Destroy naked returns in half of corpus.
12 years ago
Matt T. Proud 244a4a9cdb Update to go1.1.
12 years ago
Matt T. Proud 161c8fbf9b Include deletion processor for long-tail values.
12 years ago
Matt T. Proud 38d839d810 Include generated Protocol Buffers artifacts.
12 years ago