Commit Graph

375 Commits (2cabd1b707b0569f65fbc2bafa899cabf47cfe09)

Author SHA1 Message Date
György Krajcsovits a3d1a46eda Merge branch 'main' into nhcb
8 months ago
zenador 4acbb7dea6
Add custom buckets to native histogram chunks encoding (#13706)
8 months ago
Bryan Boreham 5ed21c0d76
Merge pull request #12933 from prymitive/duplicated_samples
9 months ago
Bryan Boreham 6c41ec984f [BUGFIX] Scraping: Tolerance should be max 1% of interval
9 months ago
Julien fcdb6c2b14
Merge pull request #13624 from roidelapluie/tolerance
9 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
György Krajcsovits 5d0a0a7542 Add custom buckets to native histogram model (#13592)
9 months ago
Łukasz Mierzwa c013a3c1b5 Check of duplicated samples directly in scrapeCache.get()
9 months ago
Łukasz Mierzwa 21f8b35f5b Move staleness tracking out of checkAddError() calls
9 months ago
Łukasz Mierzwa 55dcaab41b Fix TestScrapeLoopDiscardDuplicateLabels test
9 months ago
Łukasz Mierzwa 50c81bed86 Check for duplicated series on a scrape
9 months ago
Łukasz Mierzwa 1a8ea78207 Fix BenchmarkScrapeLoopAppendOM
9 months ago
Bryan Boreham 5f50d974c9 scraping: reset symbol table periodically
9 months ago
Bryan Boreham 4e748b9cd8 scraping: re-use labels Builder in scrape report metrics
9 months ago
Bryan Boreham abb3a62f04 scraping: re-use symbol table for scrape loops
9 months ago
Bryan Boreham 0403d098e1 scraping: re-use symbolTable for target discovery
9 months ago
Bryan Boreham 9ba13de220 scraping: pass a Builder to get Target labels
9 months ago
Łukasz Mierzwa 5597020a60 Use github.com/klauspost/compress for gzip and zlib
9 months ago
Łukasz Mierzwa 92e381b8a3 Add a scrape benchmark with gzipped responses
9 months ago
Julien Pivotto e22b564049 Always align scrapes even if tolerance is bigger than 1% of scrape interval
9 months ago
Owen Williams a28d7865ad UTF-8: Add support for parsing UTF8 metric and label names
10 months ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places
10 months ago
Bryan Boreham d0dee51aac scrape tests: check NaN values directly
10 months ago
Bryan Boreham 39af788dbd Tests: use replacement DeepEquals using go-cmp
10 months ago
Paweł Szulik b0c538787d Refactor scrape tests to use testify.
10 months ago
Bryan Boreham 4ad9b6df2e
Merge pull request #13336 from machine424/flakky
11 months ago
Ziqi Zhao df2a0ecf3b
Native Histograms: support `native_histogram_min_bucket_factor` in scrape_config (#13222)
11 months ago
machine424 2f60177203
scrape_test.go: Increase scrape interval in TestScrapeLoopCache to reduce potential flakiness
11 months ago
Julien Pivotto 0763ec841b
Merge pull request #13313 from kalpadiptyaroy/fix-quality-value-accept-header
11 months ago
Kumar Kalpadiptya Roy b012366c33 Issue #13268: fix quality value in accept header
11 months ago
Bryan Boreham 75fc8a1535
Merge pull request #13167 from bboreham/simplify-TargetsActive
11 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
Bryan Boreham 99c17b4319
Merge pull request #13177 from bboreham/less-madness
12 months ago
Arthur Silva Sens 5082655392
Append Created Timestamps (#12733)
12 months ago
Filip Petkovski 10a82f87fd
Enable reusing memory when converting between histogram types
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Björn Rabenstein 980e2895a2
Merge pull request #13129 from fatsheep9146/reduce-resolution-automatically
1 year ago
Ziqi Zhao 19ecc5dd94 add test case for bigGap
1 year ago
Julien Pivotto 965e603fa7
Merge pull request #13184 from bboreham/exemplar-sort
1 year ago
Julien Pivotto eda73dd3e5
Merge pull request #13187 from bboreham/refactor-newscrapeloop
1 year ago
Bryan Boreham 3e287e0170 Scraping tests: refactor scrapeLoop creation
1 year ago
Bryan Boreham 784a2d2c74
Merge pull request #12992 from bboreham/single-scrape-buffer-pool
1 year ago
Bryan Boreham f0e1b592ab Scraping: use slices.sort for exemplars
1 year ago
Paulin Todev 0102425af1
Use only one scrapeMetrics object per test. (#13051)
1 year ago
Bryan Boreham 9051100aba Scraping: share buffer pool across all scrapes
1 year ago
Bryan Boreham 34676a240e scrape: consistent function names for metadata
1 year ago
Ziqi Zhao 8fe9250f7d optimize the logic of break the loop of reducing resolution
1 year ago
Bryan Boreham f095c33da1 scrape: simplify TargetsActive function
1 year ago
Łukasz Mierzwa 870627fbed Add enable_compression scrape config option
1 year ago
zenador 32ee1b15de
Fix error on ingesting out-of-order exemplars (#13021)
1 year ago
Ziqi Zhao 10ebeb0a62 rename lastSum -> lastCount && enrich test case with expectBucketCount and expectSchema
1 year ago
Ziqi Zhao b94f32f6fa automatically reduce resolution rather than fail scrape
1 year ago
Julien Pivotto 0fe34f6d78 Follow-up to #13060: Add test to ensure staleness tracking
1 year ago
Matthieu MOREL fe057fc60d use Go standard errors package
1 year ago
Matthieu MOREL 7eaefcf379
ci(lint): enable errorlint on scrape (#12923)
1 year ago
George Krajcsovits e399395b01
Native histograms vs labels (#13005)
1 year ago
Björn Rabenstein a43669e611
Merge pull request #12928 from alexandear/ci-enable-godot
1 year ago
Julien Pivotto 84aadfc45b scrape: Added trackTimestampsStaleness configuration option
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
Paulin Todev 5752050b42
Scrape metrics can now be registered with a non-default registry.
1 year ago
Bartlomiej Plotka 624b973ebf
Added ability to specify scrape protocols to accept during HTTP content type negotiation. (#12738)
1 year ago
Bryan Boreham f6d9c84fde
scraping: delay creating buffer, to save memory (#12953)
1 year ago
Bryan Boreham 7c934ae18c scraping: hoist labels variable to save garbage
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
1 year ago
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660)
1 year ago
Bryan Boreham d73b4acb30
Merge pull request #12737 from prometheus/beorn7/histogram
1 year ago
György Krajcsovits 983c0c5e9d Add missing buckets
1 year ago
György Krajcsovits 2ae8c2bd3d Set expected values in test
1 year ago
György Krajcsovits 2a781ec5ac Replicate infinite loop in native-classic histogram scrape
1 year ago
Bryan Boreham 611f50bb3d scrape: retain all dropped targets when KeepDroppedTargets is zero
1 year ago
Bryan Boreham 627c99424b scrape: extend TestDroppedTargetsList to check counts
1 year ago
Bryan Boreham 1e3fef6ab0
scraping: limit detail on dropped targets, to save memory (#12647)
1 year ago
beorn7 536a487af4 scrape: Refactor names of float samples
1 year ago
beorn7 0e3f35324b scrape: Enable ingestion of multiple exemplars per sample
1 year ago
Bryan Boreham 5255bf06ad Replace sort.Slice with faster slices.SortFunc
1 year ago
Julius Volz ac8abdaacd
Rename remaining jitterSeed -> offsetSeed variables (#12414)
2 years ago
Julius Volz cb045c0e4b Fix wording from "jitterSeed" -> "offsetSeed" for server-wide scrape offsets
2 years ago
beorn7 9e500345f3 textparse/scrape: Add option to scrape both classic and native histograms
2 years ago
Björn Rabenstein bd98fc8c45
Merge pull request #12254 from zenador/histogram-bucket-limit
2 years ago
Jeanette Tan 40240c9c1c Update according to code review
2 years ago
György Krajcsovits 19a4f314f5 Refactor testutil/protobuf.go into scrape package
2 years ago
Russ Cox 28f5502828 scrape: fix two loop variable scoping bugs in test
2 years ago
Jeanette Tan dfabc69303 Add tests according to code review
2 years ago
Jeanette Tan 2ad39baa72 Treat bucket limit like sample limit and make it fail the whole scrape and return an error
2 years ago
György Krajcsovits 071426f72f Add unit test for bucket limit appender
2 years ago
Jeanette Tan 4d21ac23e6 Implement bucket limit for native histograms
2 years ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
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
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Bryan Boreham 0c09c3feb0 scrape sync: avoid copy of labels for dropped targets
2 years ago
Bryan Boreham 0dfa1e73f8 scrape: use LabelsRange instead of Labels, for performance
2 years ago
Bryan Boreham 2fde2fb37d scrape: add Target.LabelsRange
2 years ago
Bryan Boreham b96b89ef8b
Merge pull request #12048 from bboreham/faster-targets
2 years ago
Julien Pivotto 1fd59791e1 Update tests
2 years ago
Julien Pivotto 0c56e5d014 Update our own dependencies, support proxy from env
2 years ago
Bryan Boreham f4fd9b0d68 scrape: re-use memory in TargetsFromGroup
2 years ago