Commit Graph

582 Commits (47538cf6cebbc143076043c5561d0f2a2c16ab6a)

Author SHA1 Message Date
Fabian Reinartz 2368d2c45b retrieval: fix memory leak in scrape cache
8 years ago
Fabian Reinartz ca2b68889b Merge branch 'master' into dev-2.0
8 years ago
Brian Brazil a6ca391e6e Reject scrapes with invalid utf-8 label values.
8 years ago
Fabian Reinartz 98c2d8477a Merge pull request #2844 from Gouthamve/cobra
8 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
8 years ago
Julius Volz 6f66125809 retrieval: Fix "up" reporting for failed scrapes
8 years ago
Brian Brazil d8b4995ddd Check target labels are valid. Check for address after relabelling.
8 years ago
Fabian Reinartz 669075c6b9 Merge branch 'master' into dev-2.0
8 years ago
Fabian Reinartz eb651233ac Merge pull request #2787 from prometheus/limit2
8 years ago
Chris Goller 42de0ae013 Use log.Logger interface for all discovery services
8 years ago
Brian Brazil 37bc607e96 Rework sample limit to work for 2.0
8 years ago
Fabian Reinartz c6eed97c77 Merge pull request #2774 from prometheus/stalemem
8 years ago
Fabian Reinartz bc7aff8cef retrieval: extract scrape cache
8 years ago
Brian Brazil 72a276e7ed Pass through storage errors in limitAppender.
8 years ago
Fabian Reinartz a83014f53c retrieval: fix memory leak and consumption for caches
8 years ago
Fabian Reinartz 3d8661b8d5 Add comment
8 years ago
Fabian Reinartz 43ca652217 retrieval: Don't allocate map on every scrape
8 years ago
Fabian Reinartz d3f662f15e Merge branch 'dev-2.0' into grobie/reduce-noisy-append-errors
8 years ago
Fabian Reinartz d289dc55c3 storage: update TSDB
8 years ago
Brian Brazil 0920972f79 Initilise scraped sample map, and rename to series map.
8 years ago
Brian Brazil bf38963118 Plumb through logger with target field to scrape loop.
8 years ago
Brian Brazil d657d722dc Log count of dupliates/out of order samples as warnings.
8 years ago
Brian Brazil 8b9d3e7547 Put end of run staleness handler in seperate function.
8 years ago
Brian Brazil d532272520 Add stalemarkers to synthetic series too when target stops.
8 years ago
Brian Brazil b87d3ca9ea Create stale markers when a target is stopped.
8 years ago
Brian Brazil 95162ebc16 Add log messages for out of order samples
8 years ago
Brian Brazil 3c45400130 Don't fail scrape if one sample violates ordering.
8 years ago
Brian Brazil fd5c5a50a3 Add stale markers on parse error.
8 years ago
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 5060a0fc51 Add unittests for ingestion stale NaNs
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 947c83be3b Sort targets by instance within a job
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 5ec1efe622 retrieval: fix test
8 years ago
Fabian Reinartz d9fb57cde4 *: Simplify []byte to string unsafe conversion
8 years ago
Fabian Reinartz 9304179ef7 Merge branch 'master' into dev-2.0
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 311e7b5069 storage/vendor: update to latest fabxc/tsdb
8 years ago
Fabian Reinartz 5772f1a7ba retrieval/storage: adapt to new interface
8 years ago
Brian Brazil 34767c2221 Clone lset before relabelling. (#2386)
8 years ago
Fabian Reinartz 1d3cdd0d67 Merge branch 'master' into dev-2.0-rebase
8 years ago
Fabian Reinartz 035976b275 retrieval: handle not found error correctly
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
Fabian Reinartz 3302bb1eb1 Merge pull request #2323 from prometheus/beorn7/retrieval
8 years ago
Björn Rabenstein ad40d0abbc Merge pull request #2288 from prometheus/limit-scrape
8 years ago
beorn7 5dc01202d7 Retrieval: Remove some test lines that fail on Travis only
8 years ago
beorn7 3610331eeb Retrieval: Do not buffer the samples if no sample limit configured
8 years ago
beorn7 767c0709b1 Retrieval: Avoid copying Target
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 6c07453ec1 Only clone the metric in the one place relabelling needs it. (#2292)
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
Frederic Branczyk 33b583d50e
web/api: add targets endpoint
8 years ago
Frederic Branczyk 8f8cea4fbd
retrieval: refactor TargetManager to return flat list of Targets
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
Fabian Reinartz d19d1bcad3 discovery: move into top-level package
8 years ago
Fabian Reinartz 7bd9508c9b discovery: move TargetProvider and multi-constructor
8 years ago
Fabian Reinartz bd0048477c discovery: move remaining SDs into own package
8 years ago
Fabian Reinartz 5b72eae1b0 Merge pull request #2203 from prometheus/sdfix
8 years ago
Fabian Reinartz ec66082749 Merge branch 'ec2_sd_profile_support' of https://github.com/Ticketmaster/prometheus into Ticketmaster-ec2_sd_profile_support
8 years ago
Fabian Reinartz 06555bde93 Merge branch 'k8s_sd_metrics' of https://github.com/dominikschulz/prometheus into dominikschulz-k8s_sd_metrics
8 years ago
Fabian Reinartz a1eec447a4 discovery: fix+consolidate Zookeeper discoveries
8 years ago
Fabian Reinartz b4d7ce1370 discovery: respect context cancellation everywhere
8 years ago
Fabian Reinartz bc7bd7202c discovery: terminate senders before closing channel
8 years ago
Frederic Branczyk 0fcea6e9fb retrieval/discovery/kubernetes: fix cache state unknown behavior (#2180)
8 years ago
Fabian Reinartz fa82c65d15 Merge pull request #2186 from prometheus/fixes
8 years ago
Fabian Reinartz 7ecc271411 Move Fatalf call into main test goroutine
8 years ago
Fabian Reinartz 530cdba103 kubernetes: only use one error logging handler
8 years ago
beorn7 92c0ef1a92 Merge branch 'release-1.2' into beorn7/release
8 years ago
Kraig Amador bec6870ed4 ec2_sd_configs: Support profiles for configuring the ec2 service
8 years ago
beorn7 0fdb74c069 Adjust dns.go to new miekg/dns package and improve error handling.
8 years ago
Brian Brazil 64263f280d Add scrape_samples_scraped to indicate samples scraped. (#2123)
8 years ago
Brian Brazil bbec65d454 Call SD metrics refresh rather than scrape. (#2120)
8 years ago
bekbulatov 2bc12fa2fb Set timeout for marathon_sd
8 years ago
bekbulatov c689b35858 Merge branch 'master' into marathon_tls
8 years ago
Dominik Schulz eb10ff9871 Also handle service update in endpoints.go
8 years ago