Commit Graph

181 Commits (f729a704b8c20a2b1da7ac214563df125f084108)

Author SHA1 Message Date
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 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
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
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
Julien Pivotto 0c56e5d014 Update our own dependencies, support proxy from env
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 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
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 c8cfe5c25d
scrape: remove unused argument in newScrapeLoop (#11283)
2 years ago
Paschalis Tsilias 5a8e202f94
Append metadata to the WAL in the scrape loop (#10312)
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
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 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
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
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
Matheus Pimenta 8d8ce641a4
error for invalid media type should not be completely swallowed (#10186)
3 years ago
beorn7 86cc83b13c storage: iterator fixes after merge
3 years ago
beorn7 64c7bd2b08 Merge branch 'main' into sparsehistogram
3 years ago
Julien Pivotto e94a0b28e1 Append reporting metrics without limit
3 years ago
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
beorn7 a9008f5423 Merge branch 'main' into sparsehistogram
3 years ago
Shirley Leu c890ea407f
Resolve conflicts between multiple exported label prefixes (#9479)
3 years ago
beorn7 fd5ea4e0b5 Merge branch 'main' into sparsehistogram
3 years ago
Bryan Boreham 92a3eeac55
Create less garbage when parsing metrics (#9299)
3 years ago
Łukasz Mierzwa f0a26266c0 Add scrape_sample_limit metric
3 years ago
SuperQ 31f4108758
Add scrape_timeout_seconds metric
3 years ago
Levi Harrison 70f597b033
Configure Scrape Interval and Timeout Via Relabeling (#8911)
3 years ago
Ganesh Vernekar 8b70e87ab9
Merge remote-tracking branch 'upstream/main' into sparse-refactor
3 years ago
Arunprasad Rajkumar 5527e26efc
scrape: fix 'target_limit exceeded error' when reloading conf with 0
3 years ago
beorn7 5de2df752f Hacky implementation of protobuf parsing
3 years ago
Julius Volz 9d495afd2c Remove trailing zeros in scrape timeout header
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
hanjm 1df05bfd49 Add body_size_limit to prevent bad targets response large body cause Prometheus server OOM (#8827)
4 years ago
Damien Grisonnet b50f9c1c84
Add label scrape limits (#8777)
4 years ago
Callum Styan 289ba11b79
Add circular in-memory exemplars storage (#6635)
4 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Julien Pivotto 6f13c60219
Scrape: Test that deduplicated targets are started (#7975)
4 years ago
Julien Pivotto 2899773b01
Do not stop scrapes in progress during reload (#7752)
4 years ago
Annanay ec562f152b Merge branch 'master' into appender-context
4 years ago
Julien Pivotto f482c7bdd7
Add per scrape-config targets limit (#7554)
4 years ago
Annanay 9bba8a6eae Merge branch 'master' into appender-context
4 years ago
Annanay 89129cd39a Address comments
4 years ago
Julien Pivotto e76c436e9c
Goleak in discoveries, scrape, rules (#7662)
4 years ago
Annanay 7f98a744e5 Add context to Appender interface
4 years ago
Julien Pivotto 22aa21e508
scrape tests: Make appenders more realistic (#7594)
4 years ago
Julien Pivotto 754461b74f
Reuse the same appender for report and scrape (#7562)
4 years ago
Kemal Akkoyun 66dfb951c4
*: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251)
5 years ago
Brian Brazil f9d21f10ec
Only relabelling should apply for scrape_samples_scraped_post_relabelling. (#7342)
5 years ago
Brian Brazil c9565f08aa
Pass reference to checkAddError so appendErrors is updated. (#7294)
5 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109)
5 years ago
Callum Styan c453def8c5
Separate scrape add error checking out into it's own function. (#6930)
5 years ago
Bartlomiej Plotka c4eefd1b3a storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Julien Pivotto d6ad5551c9
Scrape: do not put staleness marker when cache is reused (#7011)
5 years ago
Julien Pivotto 8907ba6235 Make TSDB use storage errors
5 years ago
Julien Pivotto ed623f69e2
tsdb: don't allow ingesting empty labelsets (#6891)
5 years ago
Boqin Qin 0e51cf65e7
scrape_test: fix send-to-closed-channel bugs (#6849)
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
5 years ago
Boqin Qin cdbd42393e
scrape: fix goroutine leak in test (#6812)
5 years ago
Julien Pivotto 9c67fce6e0
Scrape: test samples_post_metric_relabeling when metrics are dropped (#6720)
5 years ago
Julien Pivotto fafb7940b1 Pass over scrape cache to the next scrape (#6670)
5 years ago
Julien Pivotto 46d18112a3 tsdb: error on series with duplicate labels (#6664)
5 years ago
gotjosh 05842176a6 Make the scrape.metricMetadataStore interface public
5 years ago
Geoffrey Beausire 5cb7987314 Fix relabaling collision when using exported label
5 years ago
Dustin Hooten ca60bf298c React UI: Implement /targets page (#6276)
5 years ago