Commit Graph

304 Commits (ba7012ec6a7c104beb8866b79f6d07972c9e27c4)

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
Douglas Camata 28a66e183d Update relabel.Process comment
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
Matt T. Proud 3b9b1c6ab4 Define dependencies for web. stack concretely.
12 years ago
Matt T. Proud 6fac20c8af Harden the tests against OOMs.
12 years ago
Bernerd Schaefer b04cd28862 Merge pull request #192 from prometheus/feature/negotiate-telemetry-schema-through-mime-type
12 years ago
Matt T. Proud b3e34c6658 Implement batch database sample curator.
12 years ago
juliusv 348b527f89 Merge pull request #194 from prometheus/julius-alert-tracking
12 years ago
Julius Volz 2202cd71c9 Track alerts over time and write out alert timeseries.
12 years ago
Bernerd Schaefer dfd5c9ce28 Refactor processor for 0.0.2 schema
12 years ago
Julius Volz d4ff85db5a Add instance label to health (up) timeseries.
12 years ago
Matt T. Proud 9e02c2393a Include generated Protocol Buffer descriptor.
12 years ago
juliusv af7ddc36e2 Merge pull request #176 from prometheus/optimization/view-materialization/slice-chunking
12 years ago
Julius Volz 9b8c671ec9 Fixes/cleanups to renderView() samples truncation.
12 years ago
Matt T. Proud e86f4d9dfd Convert time readers to represent time in UTC.
12 years ago
Matt T. Proud 05504d3642 WIP - Truncate irrelevant chunk values.
12 years ago
Matt T. Proud b1a8e51b07 Extract dto.SampleValueSeries into model.Values.
12 years ago
Matt T. Proud db4ffbb262 Wrap dto.SampleKey with business logic type.
12 years ago
Matt T. Proud f9e99bd08a Refresh SampleValue to 64-bit floating point.
12 years ago
Julius Volz 99dcbe0f94 Integrate memory and disk layers in view rendering.
12 years ago
juliusv 7c544c91c6 Merge pull request #151 from prometheus/julius-synth-vars
12 years ago
Matt T. Proud 32c0a939b0 New self-sustaining, hermetic build system.
12 years ago
Julius Volz 8c9e9632a8 Record scrape health timeseries per target.
12 years ago
Julius Volz a0d311c9e6 Constantize job name label.
12 years ago
Julius Volz fd554e8b89 Make LevelDB sample keys fixed-length to ensure correct sort-order.
12 years ago
Julius Volz ebe05d1b83 Fix logic bug in fingerprint Less() comparison.
12 years ago
Julius Volz 0230dbf305 Fix off-by-one bug in NewFingerprintFromMetric().
12 years ago
Matt T. Proud c53a72a894 Test data for the curator.
12 years ago
Julius Volz 2b8f0b2cc7 Constantize metric name label name.
12 years ago
Matt T. Proud 3e97a3630d Include nascent curator scaffolding.
12 years ago
Julius Volz bf78d427be Fix compile error in metric helper function.
12 years ago
Matt T. Proud 4e73c4c204 Include interval test.
12 years ago
Matt T. Proud 1f7ed52b46 Start writing high watermarks.
12 years ago
Matt T. Proud 84acfed061 Extract finding unindexed metrics.
12 years ago
Matt T. Proud 8cc5cdde0b checkpoint.
12 years ago
Matt T. Proud f39b9c3c8e Checkpoint.
12 years ago
Matt T. Proud 41068c2e84 Checkpoint.
12 years ago
Matt T. Proud 05a9c3cd0b Improve the base label representation in /status.
12 years ago
Matt T. Proud 13ae29b304 Initial in-memory arena implementation.
12 years ago
Matt T. Proud 4502b49524 Swap out fingerprinting infrastructure.
12 years ago
Matt T. Proud 1c74eedf76 Create initial Metric fingerprinter.
12 years ago
Julius Volz d67e4b9131 Address outstanding comments from PR/47 and other cleanups.
12 years ago
Matt T. Proud ea54751431 Update import paths to new location.
12 years ago
Julius Volz a20bf35997 Fix whitespace with "make format".
12 years ago
Julius Volz ebabaa46f4 Serialize matrices correctly.
12 years ago
Julius Volz af88afaf5a Remove unneeded String() method for SampleValue type.
12 years ago
Matt T. Proud a14dbd5bd0 Interim commit for Julius.
12 years ago
Matt T. Proud 59a708f25a Provide prototype of storage layer interfaces.
12 years ago
Matt T. Proud 6589fc92f8 Strip web services, which weren't adding value.
12 years ago
Matt T. Proud 577acf4fe7 Exploding the storage infrastructure by contexts.
12 years ago
Matt T. Proud 15a6681651 Various cleanups.
12 years ago
Matt T. Proud c0ce859c76 A few re-organizations.
12 years ago
Matt T. Proud 044a5b4e14 Add nascent Travis CI configuration.
12 years ago
Matt T. Proud 44f8802ae7 Add Apache License 2.0 boilerplate.
12 years ago
Matt T. Proud 2bbdaa5790 Initial directory re-arrangement for storage.
12 years ago
Matt T. Proud 6072143505 Initial commit of external resources.
12 years ago