Commit Graph

129 Commits (3cafc58827d1ebd1a67749f88be4218f0bab3d8d)

Author SHA1 Message Date
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
gotjosh 8b49c9285d
scrape: Add metrics to track bytes and entries in the metadata cache (#6675)
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
Julien Pivotto 31700a05df Improve testutil.ErrorEqual (#6471)
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
Alex Dzyoba 1a38075f83 scrape: Move tests to testutil (#6187)
5 years ago
yuxiaobo 47e51c8b2b Correct spelling mistakes
5 years ago
johncming 4757c69157 scrape: close manager gracefully at end. (#6044)
5 years ago
johncming 1fa5a75a3a Ctx name (#5961)
5 years ago
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883)
5 years ago
Brian Brazil e62f30d497
Correctly handle empty labels from alert templates. (#5845)
5 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify
5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package
5 years ago
AllenZMC 9e47bb8b46 fix word 'parmeters' to 'parameters' (#5826)
5 years ago
yeya24 b7bb278e95 make targets active parallel (#5740)
5 years ago
Simon Pasquier 9a1935d641
scrape: remove unused type (#5761)
5 years ago
Brian Brazil b98e818876
Add scrape_series_added per-scrape metric. (#5546)
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Romain Baugue 95193fa027 Exhaust every request body before closing it (#5166) (#5479)
6 years ago
Simon Pasquier c1682adb2f Bump prometheus/common to v0.3.0 (#5344)
6 years ago
Brian Brazil f7184978f4 Protect against memory exhaustion when scraping.
6 years ago
Brian Brazil dd3073616c Don't lose the scrape cache on a failed scrape.
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Tom Wilkie 807fd33ecc Review feedback.
6 years ago
Simon Pasquier 23069b87dc scrape: fallback to hostname if lookup fails (#5366)
6 years ago
Julien Pivotto 4397916cb2 Add honor_timestamps (#5304)
6 years ago
xjewer 0d1a69353e scrape: Add global jitter for HA server (#5181)
6 years ago
Julien Pivotto 04ce817c49 scrape: Rewrite scrape loop options as a struct (#5314)
6 years ago
Nguyen Hai Truong aed9ea144a Remove duplicated words in comments
6 years ago
Simon Pasquier 12708acd15
scrape: catch errors when creating HTTP clients (#5182)
6 years ago
JoeWrightss 4cb6c202ff Fix fmt.Errorf error message (#5199)
6 years ago
Matt Layher 302148fd69 *: apply gofmt -s
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
Bartek Płotka 62c8337e77 Moved configuration into `relabel` package. (#4955)
6 years ago
F4ncyMooN cd491e2d3a wait for interval-now%interval to make sure target will be collected with a fixed interval when restart prometheus (#4926)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Brian Brazil d2f0f54d68
Pass through content-type for non-compressed output. (#4912)
6 years ago
Wei Guo 996fd958ac fix deadlock in scrape manager (#4894)
6 years ago
arugaki b98a5acb57 fix buf redeclared in scrapeloop (#4873)
6 years ago
Simon Pasquier ed19373a78
*: remove use of golang.org/x/net/context (#4869)
6 years ago
Brian Brazil 9c03e11c2c Hook OpenMetrics parser into scraping.
6 years ago
Brian Brazil ffe7efb411 Prepare for multiple text formats
6 years ago
Will Hegedus 193ebe7e34 Updates to /targets and /rules (scrape duration, last evaluation time) (#4722)
6 years ago
Krasi Georgiev 47a673c3a0
process scrape loops reloading in parallel (#4526)
6 years ago
Julius Volz 8fbe1b5133
Handle a bunch of unchecked errors (#4461)
6 years ago
Krasi Georgiev 9f2f6accba fix the TestManagerReloadNoChange test (#4267)
6 years ago
Fabian Reinartz 057a5ae2b1 Address comments
7 years ago
Fabian Reinartz ad4c33c1ff scrape,api: provide per-target metric metadata
7 years ago
Fabian Reinartz 76a4a46cb0 pkg/textparse: refactor and add metadata handling
7 years ago
Elif T. Kuş 57dcdfb15f Rewrote tests with testutil for several test files (#4086)
7 years ago
Karsten Weiss d79d573f71 Fix spelling mistakes found by codespell (#4065)
7 years ago
Adam Shannon 809881d7f5 support reading basic_auth password_file for HTTP basic auth (#4077)
7 years ago
Björn Rabenstein 91e470d733
Merge pull request #4096 from simonpasquier/fix-scrape-races-2.2
7 years ago
Simon Pasquier 2cbba4e948 scrape: fix data races
7 years ago
Simon Pasquier 8b89ab0173 scrape: add test detecting data races
7 years ago
beorn7 94ff07b81d Merge branch 'release-2.2'
7 years ago
Krasi Georgiev dc29dd1c6f add mutex for DiscoveredLabels
7 years ago
Krasi Georgiev ddd46de6f4 Races/3994 (#4005)
7 years ago
Mario Trangoni 464e747f1e fix some comments typos (#4059)
7 years ago
Fabian Reinartz 184b6e3767
Merge pull request #3968 from zjwzte/fix-magic-number
7 years ago
ferhat elmas ec8e4d8a7c all: remove unnecessary type conversions (#3992)
7 years ago
zjwzte b7a37a1604 Fix magic number.
7 years ago
Fabian Reinartz ef567ceb7d
Merge pull request #3835 from krasi-georgiev/pool-package-generalize
7 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887)
7 years ago
Conor Broderick 99006d3baf Added dropped targets API to targets endpoint (#3870)
7 years ago
Krasi Georgiev 933ab8a34e stupid return mistake fix, and dropped the additional assertion check!
7 years ago
Krasi Georgiev 675ce533c9 refactored TestScrapeLoopAppend and added a test for empty labels
7 years ago
Brian Brazil 4addee2bee Fix honor_labels for empty labels, prune empty labels.
7 years ago
Krasi Georgiev 9878d66484 exit early and panic for non slice on buffer.Put
7 years ago
Krasi Georgiev f2c5913416 generalize the pool package and refactor scraper to use it.
7 years ago
Krasi Georgiev 404b306fb9 Meta labels sd 3693 (#3805)
7 years ago
Krasi Georgiev 6ce84dbcb1 rename ScrapeManager struct to Manager to remove stutter
7 years ago
Krasi Georgiev b75428ec19 rename package retrieve to scrape
7 years ago