Commit Graph

153 Commits (32a951ec89b2c90566a77213ed04a761f754dbb9)

Author SHA1 Message Date
Brian Brazil d8b4995ddd Check target labels are valid. Check for address after relabelling.
8 years ago
Julius Volz 815762a4ad Move retrieval.NewHTTPClient -> httputil.NewClientFromConfig
8 years ago
Brian Brazil 34767c2221 Clone lset before relabelling. (#2386)
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
Brian Brazil 6c07453ec1 Only clone the metric in the one place relabelling needs it. (#2292)
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
Fabian Reinartz 200bbe1bad config: extract SD and HTTPClient configurations
8 years ago
Fabian Reinartz d7f4f8b879 discovery: move TargetSet into discovery package
8 years ago
Tom Wilkie 4520e12440 Add HTTP Basic Auth & TLS support to the generic write path. (#1957)
8 years ago
Fabian Reinartz 0322c59dc3 retrieval: export NewHTTPClient
8 years ago
Anders Daljord Morken 8633ac180e Strip stray whitespace from bearer token file
8 years ago
Frederic Branczyk 7714b9c781 move relabeling functionality to its own package
8 years ago
Gregory G. Tseng 7997c14b0d Add ServerName into TLS Config
9 years ago
Fabian Reinartz ddc74f712b Add sortable target list
9 years ago
Fabian Reinartz 1ede7b9d72 Consolidate TargetStatus into Target.
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 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 1a3253e8ed Make scrape time unambigious.
9 years ago
Fabian Reinartz 05de8b7f8d Extract target scraping into scrape loop.
9 years ago
Fabian Reinartz cebba3efbb Simplify and fix TargetManager reloading
9 years ago
Fabian Reinartz da99366f85 Consolidate Target.Update into constructor.
9 years ago
Fabian Reinartz d15adfc917 Preserve target state across reloads.
9 years ago
beorn7 33a50e69f7 Fix a deadlock
9 years ago
Fabian Reinartz 6df1f49c13 Remove fullLabels method and fix target updating
9 years ago
Fabian Reinartz 66767121ab Handle scrape timeout on request.
9 years ago
Julius Volz 293486c7b1 Remove old superfluous calls to setLastScrape().
9 years ago
Fabian Reinartz a0078ec84c Merge pull request #1394 from prometheus/scraperef2
9 years ago
Fabian Reinartz 463dd3ea06 Refactor target scrape reporting.
9 years ago
Fabian Reinartz cd28b88b08 Fix wrong EOF error on successful target scraping
9 years ago
Fabian Reinartz 27d71b08d1 Factor out appender wrapping
9 years ago
Fabian Reinartz fe7e91e2eb Make scraping offset consistent.
9 years ago
Fabian Reinartz a06bc75519 Remove occurrences of 'base' labels
9 years ago
Fabian Reinartz 65eba080a0 Cleanup internal target data
9 years ago
Julius Volz 3728b5872f Fix target update error handling.
9 years ago
Fabian Reinartz 1f877f3d2a Fix deadlock, structure target logging
9 years ago
Fabian Reinartz 59f1e722df Return error on sample appending
9 years ago
beorn7 ec08c9a391 Rework the way to communicate backpressure (AKA suspended ingestion)
9 years ago
Brian Brazil 7a5f019c40 Use up/down in UI for consistency with 'up' metric.
9 years ago
Fabian Reinartz e3b6ec9784 Switch to common/log
9 years ago
Brian Brazil b03569267e retrieval: Add URL parameters to fullLabels too
9 years ago
Fabian Reinartz 327152862c Update expfmt.NewDecoder usage
9 years ago
Anders Daljord Morken 9fb65a91af Close HTTP connections on HTTP errors too.
9 years ago
Fabian Reinartz 8456b7e12f Use go1.5.1
9 years ago
Jimmi Dyson a1574aa2b3 Move TLS options to scrape config
9 years ago
Julius Volz 995d3b831d Fix most golint warnings.
9 years ago