Commit Graph

110 Commits (d76d5de66fa486ecece0777fd53dcfe61e23a09b)

Author SHA1 Message Date
Brian Brazil c0c7e32e61 Treat a failed scrape as an empty scrape for staleness.
8 years ago
Brian Brazil 850ea412ad If an explicit timestamp is provided, bypass staleness.
8 years ago
Brian Brazil a5cf25743c Move stalness check into a function
8 years ago
Brian Brazil 4f35952cf3 Inject a stale NaN when sample disappears between scrapes.
8 years ago
Brian Brazil beaa7d5a43 Move consistent NaN logic into the parser.
8 years ago
Brian Brazil 76acf7b9b1 Ensure all the NaNs we ingest have the same bit pattern.
8 years ago
Brian Brazil 0eabed8048 Remove unused metric
8 years ago
Fabian Reinartz 76b3378190 retrieval: add missing scrape context cancelation
8 years ago
Julius Volz f160f17a6f retrieval: fix missing scrape context cancellation (#2599)
8 years ago
Tobias Schmidt 368206d2f5 Handle errSeriesDropped correctly
8 years ago
Fabian Reinartz e829dbe2be retrieval: comment out accept header again
8 years ago
Fabian Reinartz 73b8ff0ddc Merge branch 'master' into dev-2.0
8 years ago
Matt Layher 5e4f5fb5ad retrieval: make scrape timeout header consistent with others
8 years ago
Alexey Palazhchenko 17f15d024a Small fixes. (#2578)
8 years ago
Matt Layher fe4b6693f7 retrieval: add Scrape-Timeout-Seconds header to each scrape request (#2565)
8 years ago
Fabian Reinartz 8ffc851147 Merge branch 'master' into dev-2.0
8 years ago
Julius Volz 815762a4ad Move retrieval.NewHTTPClient -> httputil.NewClientFromConfig
8 years ago
Fabian Reinartz c389193b37 Merge branch 'master' into dev-2.0
8 years ago
Fabian Reinartz d9fb57cde4 *: Simplify []byte to string unsafe conversion
8 years ago
Erdem Agaoglu 8809735d7f Setting User-Agent header (#2447)
8 years ago
Fabian Reinartz cc0ff26f1f retrieval: handle GZIP compression ourselves
8 years ago
Fabian Reinartz 5772f1a7ba retrieval/storage: adapt to new interface
8 years ago
Fabian Reinartz 1d3cdd0d67 Merge branch 'master' into dev-2.0-rebase
8 years ago
Fabian Reinartz 598e2f01c0 retrieval: don't erronously break appending
8 years ago
Fabian Reinartz c691895a0f retrieval: cache series references, use pkg/textparse
8 years ago
Fabian Reinartz ad9bc62e4c storage: extend appender and adapt it
8 years ago
Björn Rabenstein ad40d0abbc Merge pull request #2288 from prometheus/limit-scrape
8 years ago
beorn7 3610331eeb Retrieval: Do not buffer the samples if no sample limit configured
8 years ago
Fabian Reinartz e631a1260d retrieval: use separate appender per target
8 years ago
Fabian Reinartz f8fc1f5bb2 *: migrate ingestion to new batch Appender
8 years ago
Brian Brazil f421ce0636 Remove label from prometheus_target_skipped_scrapes_total (#2289)
8 years ago
Brian Brazil 30448286c7 Add sample_limit to scrape config.
8 years ago
Brian Brazil c8de1484d5 Add scrape_samples_post_metric_relabeling
8 years ago
Brian Brazil 06b9df65ec Refactor and add unittests to scrape result handling.
8 years ago
Brian Brazil b5ded43594 Allow buffering of scraped samples before sending them to storage.
8 years ago
Fabian Reinartz 200bbe1bad config: extract SD and HTTPClient configurations
8 years ago
Fabian Reinartz 47623202c7 retrieval: remove metric namespaces
8 years ago
Fabian Reinartz d7f4f8b879 discovery: move TargetSet into discovery package
8 years ago
Brian Brazil 64263f280d Add scrape_samples_scraped to indicate samples scraped. (#2123)
8 years ago
Matt Bostock 4fc619b605 Scrape: Remove JSON from Accept request header
8 years ago
Fabian Reinartz 0322c59dc3 retrieval: export NewHTTPClient
8 years ago
beorn7 064b57858e Consistently use the `Seconds()` method for conversion of durations
9 years ago
beorn7 45e5775f9b Add missing logging of out-of-order samples
9 years ago
beorn7 d566808d40 Bring back logging of discarded samples
9 years ago
Fabian Reinartz 769389e559 Fix potential race in ctx intialization
9 years ago
Tobias Schmidt e82ef154ee Remove unused code leftovers
9 years ago
stuart nelson dbe5d18b6e Instrument scrape pool `sync()`
9 years ago
stuart nelson a1ee77601a Instrument the duration of the `reload` function
9 years ago
Fabian Reinartz 0d7105abee Remove scrape config from Target.
9 years ago
Fabian Reinartz 75681b691a Extract HTTP client from Target.
9 years ago
Fabian Reinartz 9bea27ae8a Add scraping tests
9 years ago
Fabian Reinartz 76a8c6160d Deduplicate targets in scrape pool.
9 years ago
Fabian Reinartz 84f74b9a84 Apply new scrape config on reload.
9 years ago
Fabian Reinartz 02f635dc24 Remove interval/timeout from Target internals
9 years ago
Fabian Reinartz 775316f8d2 Move appender construction from Target to scrapePool
9 years ago
Fabian Reinartz fbe251c2df Fix scrape interval length calculation
9 years ago
Fabian Reinartz 1a3253e8ed Make scrape time unambigious.
9 years ago
Fabian Reinartz c7bbe95597 Remove outdated target tests
9 years ago
Fabian Reinartz 05de8b7f8d Extract target scraping into scrape loop.
9 years ago
Fabian Reinartz 5bfa4cdd46 Simplify target update handling.
9 years ago