prometheus/config/testdata
Callum Styan 67838643ee
Add config option for remote job name (#6043)
* Track remote write queues via a map so we don't care about index.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Support a job name for remote write/read so we can differentiate between
them using the name.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Remote write/read has Name to not confuse the meaning of the field with
scrape job names.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Split queue/client label into remote_name and url labels.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Don't allow for duplicate remote write/read configs.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Ensure we restart remote write queues if the hash of their config has
not changed, but the remote name has changed.

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* Include name in remote read/write config hashes, simplify duplicates
check, update test accordingly.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
2019-12-12 12:47:23 -08:00
..
azure_authentication_method.bad.yml discovery: add support for Managed Identity authentication in Azure SD (#4590) 2018-12-19 10:03:33 +00:00
azure_client_id_missing.bad.yml discovery/azure: Fail hard when Azure authentication parameters are missing (#4907) 2018-11-29 16:47:59 +01:00
azure_client_secret_missing.bad.yml discovery/azure: Fail hard when Azure authentication parameters are missing (#4907) 2018-11-29 16:47:59 +01:00
azure_subscription_id_missing.bad.yml discovery/azure: Fail hard when Azure authentication parameters are missing (#4907) 2018-11-29 16:47:59 +01:00
azure_tenant_id_missing.bad.yml discovery/azure: Fail hard when Azure authentication parameters are missing (#4907) 2018-11-29 16:47:59 +01:00
bearertoken.bad.yml Configuration options for bearer tokens, client certs & CA certs 2015-08-04 17:18:46 +01:00
bearertoken_basicauth.bad.yml Configuration options for bearer tokens, client certs & CA certs 2015-08-04 17:18:46 +01:00
conf.good.yml Add config option for remote job name (#6043) 2019-12-12 12:47:23 -08:00
ec2_filters_empty_values.bad.yml discovery/ec2: Support filtering instances in discovery (#4011) 2018-03-31 07:51:11 +01:00
empty_alert_relabel_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_alertmanager_relabel_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_metric_relabel_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_rr_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_rw_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_rw_relabel_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_scrape_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_static_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
empty_target_relabel_config.bad.yml Fix config loading panics on nil pointer slice elements (#4942) 2018-12-03 18:09:02 +08:00
first.rules Fix regression of alert rules state loss on config reload. (#3382) 2017-11-01 12:58:00 +01:00
global_timeout.good.yml Fix global config YAML issues 2016-02-15 14:08:25 +01:00
jobname.bad.yml Allow number to be the first letter as well for `job_name` 2016-09-16 14:06:47 +03:00
jobname_dup.bad.yml Switch config to YAML format. 2015-05-07 16:52:14 +02:00
kubernetes_bearertoken.bad.yml config: adapt unit tests 2016-10-17 10:32:10 +02:00
kubernetes_bearertoken_basicauth.bad.yml config: adapt unit tests 2016-10-17 10:32:10 +02:00
kubernetes_empty_apiserver.good.yml config: fix Kubernetes config with empty API server (#5256) 2019-02-22 15:51:47 +01:00
kubernetes_http_config_without_api_server.bad.yml config: fix Kubernetes config with empty API server (#5256) 2019-02-22 15:51:47 +01:00
kubernetes_namespace_discovery.bad.yml Allow limiting Kubernetes service discover to certain namespaces 2017-04-27 07:41:36 -04:00
kubernetes_role.bad.yml config: validate Kubernetes role correctly. 2016-07-18 22:24:41 +09:00
labeldrop.bad.yml Stricter Relabel Config Checking for Labeldrop/keep (#2510) 2017-03-18 22:32:08 +01:00
labeldrop2.bad.yml Stricter Relabel Config Checking for Labeldrop/keep (#2510) 2017-03-18 22:32:08 +01:00
labeldrop3.bad.yml Stricter Relabel Config Checking for Labeldrop/keep (#2510) 2017-03-18 22:32:08 +01:00
labeldrop4.bad.yml Stricter Relabel Config Checking for Labeldrop/keep (#2510) 2017-03-18 22:32:08 +01:00
labeldrop5.bad.yml Stricter Relabel Config Checking for Labeldrop/keep (#2510) 2017-03-18 22:32:08 +01:00
labelkeep.bad.yml Stricter Relabel Config Checking for Labeldrop/keep (#2510) 2017-03-18 22:32:08 +01:00
labelkeep2.bad.yml Stricter Relabel Config Checking for Labeldrop/keep (#2510) 2017-03-18 22:32:08 +01:00
labelkeep3.bad.yml Stricter Relabel Config Checking for Labeldrop/keep (#2510) 2017-03-18 22:32:08 +01:00
labelkeep4.bad.yml Stricter Relabel Config Checking for Labeldrop/keep (#2510) 2017-03-18 22:32:08 +01:00
labelkeep5.bad.yml Stricter Relabel Config Checking for Labeldrop/keep (#2510) 2017-03-18 22:32:08 +01:00
labelmap.bad.yml Prevent invalid label names with labelmap (#3868) 2018-02-21 10:02:22 +00:00
labelname.bad.yml Rename global "labels" config option to "external_labels". 2015-09-29 20:54:20 +02:00
labelname2.bad.yml Rename global "labels" config option to "external_labels". 2015-09-29 20:54:20 +02:00
labelvalue.bad.yml Check if label value is valid when unmarhsaling external labels from 2019-03-18 20:31:12 +00:00
marathon_authtoken_authtokenfile.bad.yml Use common HTTPClientConfig for marathon_sd configuration (#4009) 2018-04-05 09:08:18 +01:00
marathon_authtoken_basicauth.bad.yml Use common HTTPClientConfig for marathon_sd configuration (#4009) 2018-04-05 09:08:18 +01:00
marathon_authtoken_bearertoken.bad.yml Use common HTTPClientConfig for marathon_sd configuration (#4009) 2018-04-05 09:08:18 +01:00
marathon_no_servers.bad.yml Fix missing unmarshal for Marathon SD config. 2015-09-06 20:02:22 +02:00
modulus_missing.bad.yml Add 'hashmod' relabel action. 2015-06-24 21:14:53 +01:00
openstack_role.bad.yml config: add test for OpenStack SD (#4594) 2018-09-13 21:44:27 +05:30
regex.bad.yml Switch config to YAML format. 2015-05-07 16:52:14 +02:00
remote_read_dup.bad.yml Add config option for remote job name (#6043) 2019-12-12 12:47:23 -08:00
remote_read_url_missing.bad.yml Make sure that url for remote_read/write is not nil (#3024) 2017-08-07 08:49:45 +01:00
remote_write_dup.bad.yml Add config option for remote job name (#6043) 2019-12-12 12:47:23 -08:00
remote_write_url_missing.bad.yml Make sure that url for remote_read/write is not nil (#3024) 2017-08-07 08:49:45 +01:00
rules.bad.yml Load rule files from entire directories 2015-06-01 21:12:31 +02:00
rules_abs_path.good.yml Fixing tests for Windows 2017-07-09 01:59:30 -03:00
rules_abs_path_windows.good.yml Fixing tests for Windows 2017-07-09 01:59:30 -03:00
scrape_interval.bad.yml Restrict scrape timeout to interval length 2016-02-12 12:52:22 +01:00
scrape_interval_larger.good.yml config: add test case for scrape interval larger than timeout. (#6037) 2019-09-23 13:26:56 +02:00
section_key_dup.bad.yml Yaml UnmarshalStrict implementation. (#4033) 2018-04-04 09:07:39 +01:00
static_config.bad.json config: deprecate `target_groups` for `static_configs` 2016-06-08 15:55:25 +02:00
static_config.bad.yml Yaml UnmarshalStrict implementation. (#4033) 2018-04-04 09:07:39 +01:00
target_label_hashmod_missing.bad.yml Forbid invalid relabel configurations 2016-08-29 16:56:06 +02:00
target_label_missing.bad.yml Forbid invalid relabel configurations 2016-08-29 16:56:06 +02:00
unknown_attr.bad.yml Rename global "labels" config option to "external_labels". 2015-09-29 20:54:20 +02:00
unknown_global_attr.bad.yml config: Fix overflow checking in global config (#2783) 2017-05-30 20:58:06 +02:00
url_in_targetgroup.bad.yml config: deprecate `target_groups` for `static_configs` 2016-06-08 15:55:25 +02:00