Commit Graph

323 Commits (1eb88a8723f90bd97b9e4014fe33e4edcc7477f1)

Author SHA1 Message Date
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)
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
Julien Pivotto 599b70a05d Add include scrape configs
2 years ago
Jimmie Han a13249a98f scrape: fix prometheus_target_scrape_pool_target_limit metric not set on creating scrape pool (#12001)
2 years ago
Bryan Boreham 75e5d600d9
Merge pull request #11748 from bboreham/safe-scrape
2 years ago
Bryan Boreham d228d1d9cc scrape: remove 'mets' string completely
2 years ago
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
Łukasz Mierzwa e1b7082008
Show individual scrape pools on /targets page (#11142)
2 years ago
Bryan Boreham bec5abc4dc scrape: remove unsafe code
2 years ago
Bryan Boreham 9bc6d7a7db Update package scrape tests for new labels.Labels type
2 years ago
Bryan Boreham 91254fb187 Update package scrape for new labels.Labels type
2 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
2 years ago
Xiaochao Dong (@damnever) 9979024a30 Report error if the series contains invalid metric names or labels during scrape
2 years ago
Björn Rabenstein a61c4b266a
scrape: Fix accept header, now for real (#11552)
2 years ago
Björn Rabenstein 54ce07e9a0
scrape: Fix accept header (#11542)
2 years ago
Ganesh Vernekar 3cbf87b83d
Enable protobuf negotiation only when histograms are enabled
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Bryan Boreham 4927e13537 scrape tests: undo EmptyLabels change
2 years ago
Bryan Boreham 14780c3b4e scrape: in tests use labels.FromStrings
2 years ago
Bogdan Drutu 3cde9287a6
scrape: remove unused member from cacheEntry (#11281)
2 years ago
Bogdan Drutu f736a9e953
scrape: remove duplicate mutex unlock (#11282)
2 years ago
Bogdan Drutu c8cfe5c25d
scrape: remove unused argument in newScrapeLoop (#11283)
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Paschalis Tsilias 5a8e202f94
Append metadata to the WAL in the scrape loop (#10312)
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
Levi Harrison d61459d826
`no-default-scrape-port` feature flag (#9523)
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 90583c8906
TestScrapeLoopCache: Display content of the appender (#10937)
2 years ago
Xiaonan Shen 0c3abdc26d
Keep relabeled scrape interval and timeout on reloads (#10916)
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
2 years ago
Alban Hurtaud 41630b8e88
Add hidden flag to configure discovery loop interval (#10634)
3 years ago
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
3 years ago
Goutham Veeramachaneni 2381d7be57
Send target and metadata cache in context (again) (#10636)
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
Julien Pivotto 685ce9964d
Merge pull request #10599 from prometheus/release-2.35
3 years ago
Goutham Veeramachaneni ec3d02019e
Pass the correct context to staleness Appender (#10588)
3 years ago
Julien Pivotto db8c550570
Revoke storing target and metadata cache in context. (#10590)
3 years ago
Jayapriya Pai 580e852f10 scrape: Update error message for label limits
3 years ago
beorn7 7ee1836ef5 Merge branch 'main' into sparsehistogram
3 years ago
Robert Fratto 44a5e705be
discovery: Expose custom HTTP client options to discoverers (#10462)
3 years ago
Goutham Veeramachaneni 4d8bbfd416
Add target to context (#10473)
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
Alvin Lin 8b5eb562b1 Re-generate test cert to fix test_windows test failures
3 years ago
Goutham Veeramachaneni c4f8020dca
Embed MetadaStore in scrape context (#10450)
3 years ago
Robert Fratto f0ec619eec
scrape: allow providing a custom Dialer for scraping (#10415)
3 years ago
Jayapriya Pai edfe657b54
scrape: Fix label_limits cache usage (#10370)
3 years ago
Julien Pivotto f695df843f Improve content-type error handling
3 years ago