Commit Graph

272 Commits (d7c3bc4cb02586350ad347a6222cd0dcdd03a900)

Author SHA1 Message Date
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)
1 year 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
Bryan Boreham 5cfe759348 scrape: make TargetsFromGroup work with Builder not []Label
2 years ago
Bryan Boreham c1dbc7b838 scrape: make PopulateLabels work with Builder not Labels
2 years ago
Bryan Boreham 95fc032a61 scrape: add benchmark for TargetsFromGroup
2 years ago