Commit Graph

348 Commits (ec3aa12163afc60006061e4535e1bfdcba7e690f)

Author SHA1 Message Date
Fabian Reinartz 9b9ff66212 Merge pull request #977 from prometheus/fabxc/target-dedup
9 years ago
Fabian Reinartz 8fa9ec278b Add application labels as meta labels
9 years ago
Fabian Reinartz f269943950 Adjust Kubernetes SD to pipeline changes
9 years ago
Fabian Reinartz 4e84b86510 Improve target discovery pipeline
9 years ago
Fabian Reinartz 15b4115a25 Merge pull request #986 from prometheus/fabxc/tpdoc
9 years ago
Fabian Reinartz 625374ee36 Clarify docs of TargetProvider
9 years ago
Fabian Reinartz f7e3722388 Rename __meta_dns_srv_name to __meta_dns_name
9 years ago
Fabian Reinartz b964da4b75 Merge pull request #905 from fabric8io/kubernetes-discovery
9 years ago
Fabian Reinartz 24e91720ad Merge pull request #980 from prometheus/map-labels
9 years ago
Brian Brazil 4e70a0a14e Retrieval: Add relabel action to map label names with a regex.
9 years ago
Jimmi Dyson 923f8111d4 Initial Kubernetes discovery
9 years ago
Miek Gieben caaa3de4ff Make HashMod use MD5 instead of FNV
9 years ago
Fabian Reinartz 0138d37458 Improve unique target group sources.
9 years ago
Fabian Reinartz 54202bc5a8 Merge pull request #902 from xperimental/feature/marathon-discovery
9 years ago
Robert Jacob 4d0f974c42 Add service discovery using Marathon API.
9 years ago
Will Rouesnel 7810448dbe Add proxy_url parameter to allow specifying per-job HTTP proxy servers
9 years ago
Jimmi Dyson da4c50a6cf Make scheme relabelable via discovery
9 years ago
Jimmi Dyson 52cf6b3e6e Configuration options for bearer tokens, client certs & CA certs
9 years ago
Florian Pfitzer 1fa0b0f253 fix consul port label
9 years ago
Brian Brazil adf7f16d1a Merge pull request #934 from prometheus/query-params
9 years ago
Brian Brazil d8875d17d8 Retrieval: Make it possible to relabel query params
9 years ago
Johannes 'fish' Ziemke 6e7d743cd4 Merge pull request #946 from prometheus/add-sd-dns-a
9 years ago
Johannes 'fish' Ziemke 9ab340e95e Add support for A record based DNS SD
9 years ago
beorn7 645f6772e5 Add Consul Address, ServicePort, and ServiceAddress to the meta labels.
9 years ago
Julius Volz 9d98910fca Revert "Use Consul ServiceAddress instead of Address when set"
9 years ago
Fabian Reinartz d53cc7935d retrieval: avoid race conditions
10 years ago
Brian Brazil 3d268d681e retrieval: Handle serverset node not existing.
10 years ago
Fabian Reinartz 080e067601 Merge pull request #832 from prometheus/fabxc/target-test
10 years ago
Brian Brazil 52859b8033 Merge pull request #836 from prometheus/shard
10 years ago
Brian Brazil 682f949ab1 Add 'hashmod' relabel action.
10 years ago
Fabian Reinartz 23862c92c4 retrieval/discovery: refresh services in Consul to recover from missing events.
10 years ago
Fabian Reinartz c292979374 retrieval: double timeout in target scrape test.
10 years ago
Julius Volz d868264bb8 Improve UI of /alerts page.
10 years ago
Fabian Reinartz 53b9d5917d web: improve target URL handling and display.
10 years ago
Fabian Reinartz dc7d27ab9a retrieval: add honor label handling and parametrized querying.
10 years ago
Fabian Reinartz 459d18cf18 Merge pull request #812 from Marmelatze/consul_services
10 years ago
Florian Pfitzer 0ac7e7217e Use Consul ServiceAddress instead of Address when set
10 years ago
Brian Brazil 4d895242f9 Add support for Zookeeper Serversets for SD.
10 years ago
Brian Brazil 0dbae36d36 Allow ingested metrics to be relabeled.
10 years ago
Brian Brazil 58ceae82bc Revert "Allow ingested metrics to be relabeled."
10 years ago
Brian Brazil f2f26ca08f Allow ingested metrics to be relabeled.
10 years ago
Fabian Reinartz b5fe2e9afe Merge pull request #773 from prometheus/fabxc/simple-cfg
10 years ago
Brian Brazil b8b1d3cbac Web: Add pre-relabel labels to status page.
10 years ago
Fabian Reinartz 0af1cff8af config: simplify default config handling.
10 years ago
Fabian Reinartz 8214b4ee78 retrieval/discovery: surround __meta_consul_tags value with tag seperators.
10 years ago
Fabian Reinartz 280d11dca8 main: exit on invalid rule files on startup.
10 years ago
Fabian Reinartz 0de6edbdfc Move pkg/ to util/
10 years ago
Fabian Reinartz dfaf31a1da Move web/httputils to pkg/httputil and add DeadlineClient to it
10 years ago
Fabian Reinartz a4f179230a Merge pull request #744 from prometheus/fabxc/fix-labels
10 years ago
Fabian Reinartz e9b344abee Fix discarding of labels in file target groups
10 years ago
Fabian Reinartz 8b7e5f9184 Stop holding TargetManager lock when stopping components.
10 years ago
Brian Brazil f34de493d5 Add increase() function, to replace delta(..., 1).
10 years ago
Fabian Reinartz efb39cfd4e Fix file SD test
10 years ago
Julius Volz 267fd34156 Switch Prometheus to use github.com/prometheus/log.
10 years ago
Fabian Reinartz 7143dff02f Add initial implementation for SD via Consul.
10 years ago
Fabian Reinartz b0c181dc0d Add Consul SD configuration.
10 years ago
Fabian Reinartz ff832d2e03 Attach __meta_filepath label to file SD targets.
10 years ago
Fabian Reinartz 8de50619f1 Increase target test wait times
10 years ago
Fabian Reinartz 385919a65a Avoid inter-component blocking if ingestion/scraping blocks.
10 years ago
Fabian Reinartz 1a2d57b45c Move template functionality out of target.
10 years ago
Fabian Reinartz dbc08d390e Move target status data into its own object
10 years ago
Fabian Reinartz 9ca47869ed Provide full SD configs to discovery constructors.
10 years ago
Fabian Reinartz 93548a8882 Add initial file based service discovery.
10 years ago
Fabian Reinartz d5aa012fd0 Make HTTP basic auth configurable for scrape targets.
10 years ago
Fabian Reinartz bb540fd9fd Implement config reloading on SIGHUP.
10 years ago
Fabian Reinartz 86087120dd Replace example config with new YAML format.
10 years ago
Fabian Reinartz 5fbde88919 Switch config to YAML format.
10 years ago
Fabian Reinartz b5a8f7b8fa Cleanup, test, and document config.
10 years ago
Fabian Reinartz 945c49a2dd Add relabelling to target management.
10 years ago
Fabian Reinartz 0b619b46d6 Change JobConfig to ScrapeConfig.
10 years ago
Fabian Reinartz 5015c2a0e8 Make target manager source based.
10 years ago
Fabian Reinartz 4f8673aa88 Simplify update sync for targets, format config fixtures.
10 years ago
Fabian Reinartz 36184f3530 Show correct error on wrong DNS response.
10 years ago
beorn7 fa1935a644 Remove /api/targets call and do not show job and instance labels on status.
10 years ago
beorn7 be11cb2b07 Remove the sample ingestion channel.
10 years ago
Julius Volz 140eede5e0 Rename UNREACHABLE to UNHEALTHY.
10 years ago
Sergiusz 'q3k' Bazański 0d0bb3c030 Change instance identifiers to be host:port
10 years ago
Sergiusz 'q3k' Bazański bb69a3d284 Hide HTTP auth parts from URL
10 years ago
Julius Volz af627bb2b9 Copy vendored deps manually instead of using Godeps.
10 years ago
beorn7 11b3c2387c Improvements after review.
10 years ago
beorn7 0f191629c6 Next try to deal with backed-up ingestion.
10 years ago
beorn7 16a1a6d324 Add another check for stopped scraper.
10 years ago
beorn7 5678a86924 Throttle scraping if a scrape took longer than the configured interval.
10 years ago
Bjoern Rabenstein 5859b74f1b Clean up license issues.
10 years ago
Bjoern Rabenstein b09453af1d Adjust to new client_golang API.
10 years ago
Julius Volz d6b9e97655 Remove extraction.Result type, simplify code.
10 years ago
juliusv 917acb6baf Merge pull request #429 from brian-brazil/scrape-time
10 years ago
Brian Brazil e56786b221 Have scrape time as a pseudovariable, not a prometheus variable.
10 years ago
Brian Brazil 89c43dd0d7 Sort targets on the status page.
10 years ago
Johannes 'fish' Ziemke ff95a52b0f Rename Address to URL
10 years ago
Bjoern Rabenstein b1e4956142 Apply a giant code cleanup.
10 years ago
Bjoern Rabenstein 89bb376bce Reduce lock-protected area during scrape.
10 years ago
Bjoern Rabenstein fee88a7a77 Remove the remaining races, new and old.
10 years ago
Bjoern Rabenstein 14bda4180c Changes after pair code review.
10 years ago
Bjoern Rabenstein a2feed343a Convert another occurrence from chan bool to chan struct{}.
10 years ago
Bjoern Rabenstein 74c143c4c9 Improve scraper shutdown time.
10 years ago
Bjoern Rabenstein 92156ee89d Drain the newBaseLabels channel upon shutdown.
10 years ago
Bjoern Rabenstein 6b37e47f9e Remove unused metrics.
10 years ago
Bjoern Rabenstein 4fc8ad6677 Fix retrieval unit tests.
10 years ago
Bjoern Rabenstein b3ed9aa7a2 Clean up start-up and shut-down.
10 years ago
Bjoern Rabenstein 4447708c9f Fix a race in target.go.
10 years ago
Bjoern Rabenstein 38fc24d0ed Fix targetpool_test.go and other tests.
10 years ago
Julius Volz 7f5d3c2c29 Fix and improve the fp locker.
10 years ago
Bjoern Rabenstein e0a6cb281e Fix the accept header.
10 years ago
Brian Brazil 5edf689133 Stagger scrapes to spread out load.
10 years ago
Bjoern Rabenstein 1909686789 Make metrics exported by the Prometheus server itself more consistent.
10 years ago
Brian Brazil 4a2b96f848 Remove backoff on scrape failure.
10 years ago
Julius Volz 1bb7074fec Fix HTTP connection leak upon non-OK status.
10 years ago
Bjoern Rabenstein bacc31d5cc Remove work-around that required copying all bytes of a scrape.
10 years ago
Bjoern Rabenstein 8956faeccb Migrate to new client_golang.
10 years ago
Bjoern Rabenstein 814e479723 Treat non-200 HTTP response as error.
10 years ago
Bjoern Rabenstein ca6a4fccef Weed out our homegrown test.Tester.
11 years ago
Brian Brazil 23255f1499 Fix negative Next Retrieval on status page.
11 years ago
Bjoern Rabenstein 64811caaec Make Prometheus announce its new super-power: text format!
11 years ago
Julius Volz 84df022025 Cleanup server address handling, support IPv6.
11 years ago
Julius Volz b382e8b7bd Remove overly verbose DNS-SD logging line.
11 years ago
Julius Volz 0378c2ca1f Nonexistent labels in BY-clauses shouldn't propagate to result.
11 years ago
Stuart Nelson 48a6326d25 Added DNS-SD lookup counter for successful/unsuccessful lookups
11 years ago
Julius Volz fb44580110 Cleanup/fix program termination sequence.
11 years ago
Julius Volz 740d448983 Use custom timestamp type for sample timestamps and related code.
11 years ago
Johannes 'fish' Ziemke 8c08a5031f Add search domain support to SRV lookups
11 years ago
Julius Volz 274934bcd3 Revert "Revert "Merge pull request #317 from prometheus/fix/miekg-dns-for-srv""
11 years ago
Johannes 'fish' Ziemke 88099328d1 Revert "Merge pull request #317 from prometheus/fix/miekg-dns-for-srv"
11 years ago
Julius Volz 788587426b Make scrape timeouts configurable per job.
11 years ago
Julius Volz d69b85e6c9 Add global label support via Ingesters.
11 years ago
Julius Volz 0003027dce Add needed trailing spaces in logs.
11 years ago
Julius Volz aa5d251f8d Use github.com/golang/glog for all logging.
11 years ago
Matt T. Proud a5141e4d0a Depointerize storage conf. and chain ingester.
11 years ago
Julius Volz f8b20f30ac Make retrieval work with client's new Ingester interface.
11 years ago
Julius Volz 3b970c5133 Add variable interpolation to notification messages.
11 years ago
Julius Volz 35ee2cd3cb Add alertmanager notification support to Prometheus.
11 years ago
Julius Volz 81f0b85013 Return [] instead of null for empty result vectors.
12 years ago
Julius Volz 331be19af6 Fix broken retrieval tests.
12 years ago
Matt T. Proud f7704af4f8 Code Review: Formatting comments.
12 years ago
Matt T. Proud 06b4a40661 Represent targets in a tabular interface.
12 years ago
Matt T. Proud e20e6980e9 Completely extract response payload for decoding.
12 years ago
Julius Volz 9a48f57b66 Continue scraping old targets on SD fail.
12 years ago
juliusv 24715f0ee5 Merge pull request #322 from prometheus/refactor/client/new-model
12 years ago
Matt T. Proud b8c7fd8c34 Include Accept header for telemetry request.
12 years ago
Johannes 'fish' Ziemke 4bdf1adb6c Use github.com/miekg/dns for resolving SRV records
12 years ago
Matt T. Proud 30b1cf80b5 WIP - Snapshot of Moving to Client Model.
12 years ago
Julius Volz 91cf1e9a26 Fix DNS-SD target refresh condition.
12 years ago
Julius Volz d9b4f98b44 Integrate DNS-SD support for discovering job targets.
12 years ago
Julius Volz 1fe3d3b06b Remove obsolete argument from target handling code.
12 years ago
Julius Volz 558281890b Minor "go tool vet" cleanups
12 years ago
Matt T. Proud d4db3cf00b Code Review: Last replacement wins.
12 years ago
Matt T. Proud 9cde48754b Fix race conditions in TargetPool.
12 years ago
Julius Volz dcfd09c801 Prepend "exporter_" to labels that already exist in exported metrics.
12 years ago
Julius Volz 081191afb8 Remember and display last scrape errors in web UI.
12 years ago
Matt T. Proud 8f4c7ece92 Destroy naked returns in half of corpus.
12 years ago
Bernerd Schaefer 428d91c86f Rename test helper files to helpers_test.go
12 years ago
Matt T. Proud 244a4a9cdb Update to go1.1.
12 years ago
Julius Volz 9cea5d9df8 Convert the Prometheus configuration to protocol buffers.
12 years ago
Julius Volz d8110fcd9c Send sample arrays instead of single samples over channels.
12 years ago
Matt T. Proud 6fac20c8af Harden the tests against OOMs.
12 years ago
Bernerd Schaefer b8bc91d6c0 Target test uses correct telemetry headers
12 years ago
Bernerd Schaefer c98fc8a495 Merge pull request #196 from prometheus/fix/timeout-target-scrapes
12 years ago
Bernerd Schaefer b04cd28862 Merge pull request #192 from prometheus/feature/negotiate-telemetry-schema-through-mime-type
12 years ago
Bernerd Schaefer 3929582892 Target uses HTTP transport with deadlines
12 years ago
Matt T. Proud a48ab34dd0 Refresh Prometheus client API usage.
12 years ago
Bernerd Schaefer cf3e6ae084 Add LabelSet helper to fix go 1.0.3 build
12 years ago
Bernerd Schaefer dfd5c9ce28 Refactor processor for 0.0.2 schema
12 years ago
Bernerd Schaefer 7c3e04c546 Add version 0.0.2 processor
12 years ago
Bernerd Schaefer 76731c80c6 Use Content-Type data for telemetry versioning
12 years ago
Julius Volz d4ff85db5a Add instance label to health (up) timeseries.
12 years ago
Matt T. Proud f9e99bd08a Refresh SampleValue to 64-bit floating point.
12 years ago
Julius Volz ae316415fe Add missing argument to Printf call.
12 years ago
Julius Volz 8c9e9632a8 Record scrape health timeseries per target.
12 years ago
Julius Volz a0d311c9e6 Constantize job name label.
12 years ago
Julius Volz a1ba23038e Fix scrape timestamps to reduce sample time jitter.
12 years ago
Johannes 'fish' Ziemke 14407a076a Convert addresses pointing to localhost in status.
12 years ago
Julius Volz 2b8f0b2cc7 Constantize metric name label name.
12 years ago
Matt T. Proud 5a9417f80a Include humanized target state strings.
12 years ago
Julius Volz f1fc7d717a Allow replacing job targets via HTTP API.
12 years ago
Julius Volz 047eb219e4 Fix target health state update.
12 years ago
Julius Volz 5d55785936 Fix broken target scrape error propagation.
12 years ago
Julius Volz 3537edee9f Fix targetpool iteration deadlock.
12 years ago
Julius Volz c8761f3468 Correct order of deadline and interval arguments.
12 years ago
Tobias Schmidt 53eab86a4f Merge pull request #51 from prometheus/refactor/testability/update-to-time-provider
12 years ago
Matt T. Proud e01b6cdb44 Duration statistics for each target pool.
12 years ago
Matt T. Proud 4cd153555e Swap ``time.Now`` with testable ``Time.Now``.
12 years ago
Matt T. Proud ea54751431 Update import paths to new location.
12 years ago
Matt T. Proud f2ded515b7 Support versioned telemetry providers.
12 years ago
Matt T. Proud 88d15373c5 Upgrade Prometheus to new API.
12 years ago
juliusv 39b2e72eb0 Merge pull request #37 from matttproud/julius-base-labels
12 years ago
Julius Volz 6f937ee032 Add preliminary metric docstrings and empty base labels.
12 years ago
Julius Volz 80cdb0121d Add support for configured job base labels.
12 years ago
Matt T. Proud 190e4e3fa3 ``TargetManager`` and ``TargetPool`` ass pointers.
12 years ago
Matt T. Proud 9752f1e61d Refactor Target as interface for testability.
12 years ago
Matt T. Proud 9af0faaefb Get ``TargetPool`` test working again.
12 years ago
Matt T. Proud d772c6c2b5 Refactor target scheduling to separate facility.
12 years ago
Matt T. Proud efe61c18fa Refactor target scheduling to separate facility.
12 years ago
Julius Volz 56384bf42a Add initial config and rule language implementation.
12 years ago
Matt T. Proud 52f52a7ee2 Include nascent instrumentation of stack.
12 years ago
Matt T. Proud 2922def8d0 Use the ``TargetManager`` for targets.
12 years ago
Julius Volz 45a3e0a182 Rename Target Frequency -> Interval.
12 years ago
Matt T. Proud 7a9777b4b5 Create ``TargetPool`` priority queue.
12 years ago
Matt T. Proud 3ac5d48b1a Impl' storage i'faces and fix non-idiomatic warts.
12 years ago