Commit Graph

405 Commits (6290287c1ccdb2935965383895c1683aacb513b4)

Author SHA1 Message Date
Steffen Neubauer 9c9b872087
OpenStack SD: Add availability config option, to choose endpoint type (#7494)
4 years ago
Jop Zinkweg 1f69c38ba4
Add discovery support for triton compute nodes (#7250)
5 years ago
Aleksandra Gacek 8e53c19f9c discovery/kubernetes: expose label_selector and field_selector
5 years ago
Grebennikov Roman b4445ff03f discovery/kubernetes: expose label_selector and field_selector
5 years ago
Julien Pivotto 9d9bc524e5 Add query log (#6520)
5 years ago
Callum Styan 67838643ee
Add config option for remote job name (#6043)
5 years ago
Simon Pasquier cccd542891
*: avoid missed Alertmanager targets (#6455)
5 years ago
johncming 8d3083e256 config: add test case for scrape interval larger than timeout. (#6037)
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Chris Marchbanks a6a55c433c Improve desired shards calculation (#5763)
5 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify
5 years ago
Max Leonard Inden 41c22effbe
config&notifier: Add option to use Alertmanager API v2
6 years ago
Callum Styan e9129abeff Remove max_retries from queue_config since it's not used in remote write
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Callum Styan 5603b857a9 Check if label value is valid when unmarhsaling external labels from
6 years ago
Tom Wilkie c7b3535997 Use pkg/relabelling in remote write.
6 years ago
Julien Pivotto 4397916cb2 Add honor_timestamps (#5304)
6 years ago
Callum Styan 83c46fd549 update Consul vendor code so that catalog.ServiceMultipleTags can be (#5151)
6 years ago
Simon Pasquier 027d2ece14 config: resolve more file paths (#5284)
6 years ago
Simon Pasquier e72c875e63
config: fix Kubernetes config with empty API server (#5256)
6 years ago
Simon Pasquier c8a1a5a93c
discovery/kubernetes: fix support for password_file and bearer_token_file (#5211)
6 years ago
Callum Styan 6f69e31398 Tail the TSDB WAL for remote_write
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
Marcel D. Juhnke c7d83b2b6a discovery: add support for Managed Identity authentication in Azure SD (#4590)
6 years ago
Bartek Płotka 62c8337e77 Moved configuration into `relabel` package. (#4955)
6 years ago
Ryota Arai 135d580ab2 Introduce min_shards for remote write to set minimum number of shards. (#4924)
6 years ago
Julius Volz d28246e337
Fix config loading panics on nil pointer slice elements (#4942)
6 years ago
mengnan a5d39361ab discovery/azure: Fail hard when Azure authentication parameters are missing (#4907)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Simon Pasquier ff08c40091 discovery/openstack: support tls_config
6 years ago
Simon Pasquier 128ff546b8 config: add test for OpenStack SD (#4594)
6 years ago
Tariq Ibrahim f708fd5c99 Adding support for multiple azure environments (#4569)
6 years ago
Daisy T 7d01ead689 change time.duration to model.duration for standardization (#4479)
6 years ago
Goutham Veeramachaneni c28cc5076c Saner defaults and metrics for remote-write (#4279)
6 years ago
Paul Gier d24d2acd11 config: set target group source index during unmarshalling (#4245)
7 years ago
Philippe Laflamme 2aba238f31 Use common HTTPClientConfig for marathon_sd configuration (#4009)
7 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033)
7 years ago
Kristiyan Nikolov be85ba3842 discovery/ec2: Support filtering instances in discovery (#4011)
7 years ago
Corentin Chary 60dafd425c consul: improve consul service discovery (#3814)
7 years ago
pasquier-s fc8cf08f42 Prevent invalid label names with labelmap (#3868)
7 years ago
Shubheksha Jalan 0471e64ad1 Use shared types from the `common` repo (#3674)
7 years ago
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629)
7 years ago
Brian Brazil fba80da635
Fix default of read_recent to be false. (#3617)
7 years ago
Krasi Georgiev e405e2f1ea refactored discovery
7 years ago
Alberto Cortés 29da2fb9cd testutil: update to go1.9 testing.Helper
7 years ago
Alberto Cortés 8f6a9f7833 config: simplify tests by using testutil.NotOk (#3289)
7 years ago
Tobias Schmidt 7098c56474 Add remote read filter option
7 years ago
Krasi Georgiev e86d82ad2d Fix regression of alert rules state loss on config reload. (#3382)
7 years ago
Thibault Chataigner bf4a279a91 Remote storage reads based on oldest timestamp in primary storage (#3129)
7 years ago
Alberto Cortés 6c67296423 config: fix error message for unexpected result of yaml marshal
7 years ago
Alberto Cortés 0f3d8ea075 config: use testutil package
7 years ago
Fabian Reinartz 2d0b8e8b94 Merge branch 'master' into dev-2.0
7 years ago
Alberto Cortés bb3dad9cba config: simplify some returns
7 years ago
Bryan Boreham 9d6b945e41 Default HTTP keep-alive ON for remote read/write
7 years ago
Bryan Boreham e0a4d18301 Allow http keep-alive setting to be overridden in config
7 years ago
Fabian Reinartz e746282772 Merge branch 'master' into dev-2.0
7 years ago
Jamie Moore 7a135e0a1b Add the ability to assume a role for ec2 discovery
7 years ago
Fabian Reinartz 87918f3097 Merge branch 'master' into dev-2.0
7 years ago
Johannes 'fish' Ziemke 70f3d1e9f9 k8s: Support discovery of ingresses (#3111)
7 years ago
CuiHaozhi b1c18bf29b discovery openstack: support discovery hosts, add rule option.
7 years ago
Max Leonard Inden 1c96fbb992
Expose current Prometheus config via /status/config
7 years ago
Fabian Reinartz 25f3e1c424 Merge branch 'master' into mergemaster
7 years ago
Yuki Ito 1bf3b91ae0 Make sure that url for remote_read/write is not nil (#3024)
7 years ago
Tom Wilkie 5169f990f9 Review feedback: add yaml struct tags, don't embed queue config.
7 years ago
Tom Wilkie 454b661145 Make queue manager configurable.
7 years ago
Fabian Reinartz dba7586671 Merge branch 'master' into dev-2.0
7 years ago
Fuente, Pablo Andres 9eb8c6e1d2 Renaming the config_notwin test to config_default
7 years ago
Fuente, Pablo Andres fe73de9452 Renaming config test file to fix build tags
7 years ago
Fuente, Pablo Andres 193dc47230 Fixing code style to adhere gofmt
7 years ago
Fuente, Pablo Andres 902fafb8e7 Fixing tests for Windows
7 years ago
Goutham Veeramachaneni 98d20d5880 Make sure rendering config produces valid config
8 years ago
Fabian Reinartz 65b087bcc1 config: resolve file SD paths relative to config
8 years ago
Fabian Reinartz 9ba61df45a Merge pull request #2789 from mtanda/aws_default_region
8 years ago
Mitsuhiro Tanda 64cef5cd05 handle NewSession() error
8 years ago
Christian Groschupp 8f781e411c Openstack Service Discovery (#2701)
8 years ago
Roman Vynar dbe2eb2afc Hide consul token on UI. (#2797)
8 years ago
Mitsuhiro Tanda a1ddab463e config: set default region for EC2 SD
8 years ago
Tobias Schmidt 287ec6e6cc Fix outdated target_group naming in error message
8 years ago
Julius Volz 240bb671e2 config: Fix overflow checking in global config (#2783)
8 years ago
Conor Broderick 6766123f93 Replace regex with Secret type and remarshal config to hide secrets (#2775)
8 years ago
Brian Akins 27d66628a1 Allow limiting Kubernetes service discover to certain namespaces
8 years ago
Julius Volz eb14678a25 Make remote read/write use config.HTTPClientConfig
8 years ago
Julius Volz 02395a224d [WIP] Remote Read
8 years ago
Julius Volz 525da88c35 Merge pull request #2479 from YKlausz/consul-tls
8 years ago
Goutham Veeramachaneni 5c89cec65c Stricter Relabel Config Checking for Labeldrop/keep (#2510)
8 years ago
yklausz 75880b594f Adding consul capability to connect via tls
8 years ago
Michael Kraus 04eadf6e20 Allow Marathon SD without bearer_token and bearer_token_file
8 years ago
Michael Kraus 47bdcf0f67 Allow the use of bearer_token or bearer_token_file for MarathonSD
8 years ago
Julius Volz e9476b35d5 Re-add multiple remote writers
8 years ago
Alex Somesan b22eb65d0f Cleaner separation between ServiceAccount and custom authentication in K8S SD (#2348)
8 years ago
Fabian Reinartz 7eb849e6a8 Merge pull request #2307 from joyent/triton_discovery
8 years ago
Richard Kiene f3d9692d09 Add Joyent Triton discovery
8 years ago
Björn Rabenstein ad40d0abbc Merge pull request #2288 from prometheus/limit-scrape
8 years ago
Brian Brazil 30448286c7 Add sample_limit to scrape config.
8 years ago
Tristan Colgate-McFarlane 4d9134e6d8 Add labeldrop and labelkeep actions. (#2279)
8 years ago
Fabian Reinartz cc35104504 config: fix naming and typo
8 years ago
Fabian Reinartz 3fb4d1191b config: rename AlertingConfig, resolve file paths
8 years ago
Fabian Reinartz 183c5749b9 config: add Alertmanager configuration
8 years ago
Fabian Reinartz 200bbe1bad config: extract SD and HTTPClient configurations
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
Kraig Amador bec6870ed4 ec2_sd_configs: Support profiles for configuring the ec2 service
8 years ago
beorn7 b2f28a9e82 Merge branch 'release-1.2'
8 years ago
Brian Brazil d1ece12c70 Handle null Regex in the config as the empty regex. (#2150)
8 years ago
bekbulatov 2bc12fa2fb Set timeout for marathon_sd
8 years ago
bekbulatov c689b35858 Merge branch 'master' into marathon_tls
8 years ago
Matti Savolainen aabf4a419b use LabelNam.IsValid() instead of LabelNameRE and MatchString instead of Match
8 years ago
Matti Savolainen ec6524ce74 test the labelTarget regex to make sure it properly validates pre-interpolated label names.
8 years ago
Matti Savolainen f867c1fd58 formating and text fixes, adjust regexp
8 years ago
Matti Savolainen 56907ba6e3 Add interpolation to good test config. Fix regex
8 years ago
Matti Savolainen 7a36af1c85 add comment about interpolation
8 years ago
Matti Savolainen 3b8e7c1277 Merge branch 'master' of https://github.com/prometheus/prometheus into bug/target_label_unmarshal
8 years ago
Matti Savolainen 5a1e909b5d Make TargetLabel in RelabelConfig a string
8 years ago
Björn Rabenstein d93f73874f Merge pull request #2093 from dominikschulz/spelling
8 years ago
Dominik Schulz 182e17958a Trivial spelling corrections and a small comment.
8 years ago
bekbulatov ac702f66eb Resolve merge conflicts
8 years ago
Fabian Reinartz 1b6dfa32a9 config: rename role 'endpoint' to 'endpoints'
8 years ago
Frederic Branczyk 2e18c81a00 config: adapt unit tests
8 years ago
Fabian Reinartz b24602f713 kubernetes: merge back into single configuration
8 years ago
Fabian Reinartz 2331701b50 kubernetes: Add K8S v2 pod discovery
8 years ago
Dominik Schulz 72cbf8af6f Fix small copy and paste error
8 years ago
bekbulatov 01b53c1180 Add tls support
8 years ago
Brian Brazil 77605649a9 Add support for remote write relabelling.
8 years ago
Tom Wilkie 4520e12440 Add HTTP Basic Auth & TLS support to the generic write path. (#1957)
8 years ago
Tobias Schmidt 874cb44bb6 Merge pull request #1996 from ton31337/Fix/allow_numbers_as_first_letter
8 years ago
Donatas Abraitis 1aa8898b66 Allow number to be the first letter as well for `job_name`
8 years ago
Ingo Gottwald 3b546d061f Add support for GCE discovery
8 years ago
Alexey Miroshkin e29d9394e5 Forbid invalid relabel configurations
8 years ago
Fabian Reinartz be596f82b4 Merge pull request #1783 from knyar/json
8 years ago
Frederic Branczyk b655aa002f introduce top level alerting config node
8 years ago
Frederic Branczyk 679d225c8d allow relabeling of alerts
8 years ago
Fabian Reinartz 7a0b3af0b7 config: validate Kubernetes role correctly.
8 years ago
Fabian Reinartz 919558f601 config: remove deprecated `target_groups` configuration
8 years ago
Fabian Reinartz 7221228843 discovery/kubernetes: select between discovery role
9 years ago
Anton Tolchanov 772a3af38f Allow URLs in targets defined via a JSON file
9 years ago
Ali Reza 98c156c361 reorder config validation, move checkOverflow before any other validation
9 years ago
Fabian Reinartz 0f21bd31ca config: deprecate `target_groups` for `static_configs`
9 years ago
Jimmi Dyson 206bcfcdaa
Kubernetes SD: Remove kubeletPort config option
9 years ago
Ali Reza c81b4e8a87 change config names to files for consistency
9 years ago
Gregory G. Tseng 7997c14b0d Add ServerName into TLS Config
9 years ago
Seth Miller 0988e3b937 Add support for Azure discovery
9 years ago
Fabian Reinartz 37c709f917 Fix global config YAML issues
9 years ago
Fabian Reinartz 44a5e860ed Fix scrape timeout config checks
9 years ago
Julius Volz 829a029dda Update two more __meta_dns_srv_name references.
9 years ago
Fabian Reinartz e26e4b6e89 Restrict scrape timeout to interval length
9 years ago
beorn7 a7408bfb47 Unify duration parsing
9 years ago
Julien Dehee 061fe2f364 Support AirBnB's Smartstack Nerve client for SD
9 years ago
Fabian Reinartz 4d1c9296d5 Add new defaults for relabel configurations
9 years ago
Brian Brazil fd2bd81cd8 Allow all instance labels in target groups
9 years ago
Fabian Reinartz f2a8261cdb Merge pull request #1177 from fabric8io/kubernetes-discovery
9 years ago
Fabian Reinartz 180da1ba65 Add overflow check in TLS config
9 years ago
Jimmi Dyson 87940ec213 Kubernetes SD: Rename `masters` to `api_servers` in config
9 years ago
Jimmi Dyson 7ff5cc66ea Kubernetes SD authentication options cleanup
9 years ago
Brian Brazil 1ddf75240d config: Don't hide username, it's not secret.
9 years ago
Matt Jibson dcb4856d72 Add SD for Amazon EC2 instances
9 years ago
Julius Volz dac26cef71 Rename global "labels" config option to "external_labels".
9 years ago
Matt Jibson 0e99fa6c46 Allow labelmap action
9 years ago
Jimmi Dyson ec04ba38a2 Kubernetes SD config check
9 years ago
Jimmi Dyson a1574aa2b3 Move TLS options to scrape config
9 years ago
Fabian Reinartz 1ef5ed0cf2 Merge pull request #1048 from xperimental/fix/marathon-config
9 years ago
Robert Jacob eb7416e71f Fix missing unmarshal for Marathon SD config.
9 years ago
Jimmi Dyson d7a7fd4589 Kubernetes SD improvements
9 years ago
Julius Volz f63a899744 Change config regexes to full-string matches.
9 years ago
Julius Volz 995d3b831d Fix most golint warnings.
9 years ago
Fabian Reinartz 438e232c9b Fix grouping of import blocks
9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model
9 years ago
Fabian Reinartz ac0be60bb9 Add license headers
9 years ago
Fabian Reinartz 139f27bf8a Increase default retry interval for file SD
9 years ago
Fabian Reinartz 3c6dd161d7 Scrape all services on empty services list.
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
Brian Brazil 43449b0581 config: Update tests/examples to use __tmp_
9 years ago
Jimmi Dyson 923f8111d4 Initial Kubernetes discovery
9 years ago
Fabian Reinartz cdcfada2ac Merge pull request #965 from prometheus/fabxc/relpath
9 years ago
Fabian Reinartz 73f1cc807d Check token and cert file existence in promtool
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
Fabian Reinartz 7a67472fc1 Resolve relative paths on configuration loading
9 years ago
Jimmi Dyson 52cf6b3e6e Configuration options for bearer tokens, client certs & CA certs
9 years ago
Johannes 'fish' Ziemke 9ab340e95e Add support for A record based DNS SD
9 years ago
Fabian Reinartz 187fe4e3d3 Fix missing defaults for empty global config blocks
9 years ago
Fabian Reinartz 2a53b107c1 Fix missing defaults in empty configurations
9 years ago
Fabian Reinartz 435fc7234f config: add overflow detection for serverset config
10 years ago
Fabian Reinartz 02e06839f2 config: hide authentication credentials in String() output
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 4319b06dd2 config: add omitempty for consul SD config.
10 years ago
Fabian Reinartz 7ec15956e4 config: show original input on String()
10 years ago
Fabian Reinartz dc7d27ab9a retrieval: add honor label handling and parametrized querying.
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 116e6df096 config: raise error on unknown config parameters.
10 years ago
Fabian Reinartz 3a24a7779d config: extend and format config example/test.
10 years ago
Fabian Reinartz 458550560c config: error on missing regex in relabel config.
10 years ago
Fabian Reinartz b5fe2e9afe Merge pull request #773 from prometheus/fabxc/simple-cfg
10 years ago
Fabian Reinartz f6c33a2347 config: prevent overwrite of DefaultGlobalConfig
10 years ago
Fabian Reinartz db3367e83f config: ensure correct labelname in JSON target group.
10 years ago